Package com.stardevllc.starmclib.actors
Class PlayerActor
java.lang.Object
com.stardevllc.starmclib.actors.PlayerActor
- All Implemented Interfaces:
Actor
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedPlayerActor(UUID uniqueId) PlayerActor(org.bukkit.entity.Player player) -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleangetName()org.bukkit.entity.Playerinthashcode()booleanhasPermission(String permission) booleanisOnline()booleanisPlayer()voidsendMessage(String message) Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.stardevllc.starmclib.actors.Actor
isPlugin, isServer, sendColoredMessage
-
Constructor Details
-
PlayerActor
-
PlayerActor
public PlayerActor(org.bukkit.entity.Player player)
-
-
Method Details
-
canSee
-
getUniqueId
-
getPlayer
public org.bukkit.entity.Player getPlayer() -
isOnline
public boolean isOnline() -
hasPermission
- Specified by:
hasPermissionin interfaceActor
-
getConfigString
- Specified by:
getConfigStringin interfaceActor
-
isPlayer
public boolean isPlayer() -
equals
-
hashcode
public int hashcode() -
sendMessage
- Specified by:
sendMessagein interfaceActor
-
getName
-