Added Entity.teleportTo(Entity)
This commit is contained in:
parent
39999e2c93
commit
c3a3c52e9d
@ -26,6 +26,13 @@ public interface Entity {
|
||||
*/
|
||||
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
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user