Package net.craftions.api.game.events
Class GameStartEvent
- java.lang.Object
-
- org.bukkit.event.Event
-
- net.craftions.api.game.events.GameStartEvent
-
- All Implemented Interfaces:
org.bukkit.event.Cancellable
public class GameStartEvent extends org.bukkit.event.Event implements org.bukkit.event.Cancellable
-
-
Field Summary
Fields Modifier and Type Field Description static org.bukkit.event.HandlerList
HANDLERS
-
Constructor Summary
Constructors Constructor Description GameStartEvent(Game game)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Game
getGame()
static org.bukkit.event.HandlerList
getHandlerList()
@NotNull org.bukkit.event.HandlerList
getHandlers()
boolean
isCancelled()
void
setCancelled(boolean cancel)
-
-
-
Constructor Detail
-
GameStartEvent
public GameStartEvent(Game game)
-
-
Method Detail
-
getHandlerList
public static org.bukkit.event.HandlerList getHandlerList()
-
getGame
public Game getGame()
- Returns:
- The game that starts
-
getHandlers
@NotNull public @NotNull org.bukkit.event.HandlerList getHandlers()
- Specified by:
getHandlers
in classorg.bukkit.event.Event
-
isCancelled
public boolean isCancelled()
- Specified by:
isCancelled
in interfaceorg.bukkit.event.Cancellable
-
setCancelled
public void setCancelled(boolean cancel)
- Specified by:
setCancelled
in interfaceorg.bukkit.event.Cancellable
-
-