Added Entity.teleportTo(Entity)

This commit is contained in:
Dinnerbone
2011-01-08 02:20:29 +00:00
parent ebf69ae6c2
commit 731683daff

View File

@@ -26,6 +26,13 @@ public interface Entity {
*/ */
public void teleportTo(Location location); public void teleportTo(Location location);
/**
* Teleports this entity to the target Entity
*
* @param destination Entity to teleport this entity to
*/
public void teleportTo(Entity destination);
/** /**
* Returns a unique ID for this entity * Returns a unique ID for this entity
* *