Added Location

By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
Bukkit/Spigot
2010-12-27 02:11:52 +00:00
parent a2d9b84796
commit e364e973c7
3 changed files with 145 additions and 0 deletions

View File

@@ -19,4 +19,18 @@ public interface Player {
* @return true if they are online
*/
public boolean isOnline();
/**
* Gets the players current position in the world
*
* @return Location of this player
*/
public Location getLocation();
/**
* Gets the current world this player is on
*
* @return World
*/
public World getWorld();
}