Added world.spawnTree(), world.spawnBigTree().

This commit is contained in:
sk89q 2011-01-02 18:00:57 -08:00 committed by Dinnerbone
parent 40985fcde0
commit 806e30733e

View File

@ -27,4 +27,20 @@ public interface World {
*/
public ArrowEntity spawnArrow(Location loc, Vector velocity,
float speed, float spread);
/**
* Spawns a tree at a location.
*
* @param loc
* @return whether the tree was created
*/
public boolean generateTree(Location loc);
/**
* Spawns a big tree at a location.
*
* @param loc
* @return whether the tree was created
*/
public boolean generateBigTree(Location loc);
}