Class WaitForMaximumPlayersPhase
java.lang.Object
de.kentoj.scrow.bukkit.minigame.phase.Phase<LobbyMinigame>
de.kentoj.scrow.bukkit.minigame.lobby.WaitForMaximumPlayersPhase
- All Implemented Interfaces:
IPhase
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidonCancel()Called together withPhase.onEnd()but only called when the phase was cancelled due to an errorvoidonStart()Shall callPhaseFlow.advancePhase()protected voidonTick(int tick)
-
Constructor Details
-
WaitForMaximumPlayersPhase
-
-
Method Details
-
onStart
public void onStart()Description copied from class:PhaseShall callPhaseFlow.advancePhase()- Specified by:
onStartin classPhase<LobbyMinigame>
-
onTick
protected void onTick(int tick) - Overrides:
onTickin classPhase<LobbyMinigame>
-
onCancel
protected void onCancel()Description copied from class:PhaseCalled together withPhase.onEnd()but only called when the phase was cancelled due to an error- Specified by:
onCancelin classPhase<LobbyMinigame>
-