public class MinigameRoundStartEvent extends MGRoundEvent implements org.bukkit.event.Cancellable
round
plugin
Constructor and Description |
---|
MinigameRoundStartEvent(Round round)
Creates an instance of this event.
|
MinigameRoundStartEvent(Round round,
boolean prepared)
Creates a new instance of this event.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isCancelled() |
void |
setCancelled(boolean cancel) |
boolean |
wasPrepared()
Gets whether the round start was on account of its preparation period
ending.
|
getRound
getHandlerList, getHandlers, getPlugin, uninitialize
public MinigameRoundStartEvent(Round round, boolean prepared)
round
- the Round
associated with this eventprepared
- whether the round start was on account of its preparation
period endingpublic boolean wasPrepared()
public boolean isCancelled()
isCancelled
in interface org.bukkit.event.Cancellable
public void setCancelled(boolean cancel)
setCancelled
in interface org.bukkit.event.Cancellable