Class ArenaStatusChangeEvent
java.lang.Object
org.bukkit.event.Event
de.marcely.bedwars.api.event.arena.ArenaStatusChangeEvent
- All Implemented Interfaces:
- ArenaEvent
Gets called when the status of an arena is about to change
- 
Nested Class SummaryNested classes/interfaces inherited from class org.bukkit.event.EventEvent.Result
- 
Constructor SummaryConstructorsConstructorDescriptionArenaStatusChangeEvent(Arena arena, ArenaStatus before, ArenaStatus newStatus) 
- 
Method SummaryModifier and TypeMethodDescriptionstatic HandlerListReturns the new status status that should be set.Returns the current status.voidsetNewStatus(ArenaStatus status) Set the new status that should be set.Methods inherited from class org.bukkit.event.EventgetEventName, isAsynchronousMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.marcely.bedwars.api.event.arena.ArenaEventgetArena
- 
Constructor Details- 
ArenaStatusChangeEvent
 
- 
- 
Method Details- 
getOldStatusReturns the current status.- Returns:
- The current status of the arena
 
- 
getNewStatusReturns the new status status that should be set.- Returns:
- The new status
 
- 
setNewStatusSet the new status that should be set.- Parameters:
- status- The new status
 
- 
getHandlers- Specified by:
- getHandlersin class- Event
 
- 
getHandlerList
 
-