public class MGPlayerSpectateEvent extends MGPlayerEvent implements org.bukkit.event.Cancellable
player
becomes a spectator.Modifier and Type | Field and Description |
---|---|
protected Round |
round |
player
plugin
Constructor and Description |
---|
MGPlayerSpectateEvent(Round round,
MGPlayer player)
Creates a new instance of this event.
|
Modifier and Type | Method and Description |
---|---|
Round |
getRound()
Returns the
round involved in this event. |
boolean |
isCancelled() |
void |
setCancelled(boolean cancel) |
getPlayer
getHandlerList, getHandlers, getPlugin, uninitialize
protected Round round
public Round getRound()
round
involved in this event.round
involved in this eventpublic boolean isCancelled()
isCancelled
in interface org.bukkit.event.Cancellable
public void setCancelled(boolean cancel)
setCancelled
in interface org.bukkit.event.Cancellable