Class TeleportState
java.lang.Object
net.sacredlabyrinth.phaed.simpleclans.TeleportState
-
Constructor Summary
ConstructorsConstructorDescriptionTeleportState(org.bukkit.entity.Player player, org.bukkit.Location destination, String clanName, int counter) -
Method Summary
Modifier and TypeMethodDescriptionintGet seconds left before teleportorg.bukkit.Locationorg.bukkit.Location@Nullable org.bukkit.entity.PlayerThe player that is waiting for teleportbooleanbooleanvoidsetCounter(int counter) voidsetProcessing(boolean processing)
-
Constructor Details
-
TeleportState
public TeleportState(org.bukkit.entity.Player player, org.bukkit.Location destination, String clanName, int counter)
-
-
Method Details
-
getLocation
public org.bukkit.Location getLocation() -
isTeleportTime
public boolean isTeleportTime() -
getPlayer
@Nullable public @Nullable org.bukkit.entity.Player getPlayer()The player that is waiting for teleport- Returns:
- the player
-
getCounter
public int getCounter()Get seconds left before teleport- Returns:
- the counter
-
setCounter
public void setCounter(int counter) -
getClanName
-
getDestination
public org.bukkit.Location getDestination() -
isProcessing
public boolean isProcessing() -
setProcessing
public void setProcessing(boolean processing)
-