bukkit/src/org/bukkit/Player.java
2010-12-27 02:11:52 +00:00

36 lines
638 B
Java

package org.bukkit;
/**
* Represents a player, connected or not
*
*/
public interface Player {
/**
* Returns the name of this player
*
* @return Player name
*/
public String getName();
/**
* Checks if this player is currently online
*
* @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();
}