Class CompositePhase<T extends Minigame>
java.lang.Object
de.kentoj.scrow.bukkit.minigame.phase.AbstractPhase<T>
de.kentoj.scrow.bukkit.minigame.phase.CompositePhase<T>
- All Implemented Interfaces:
Phase
- Direct Known Subclasses:
LobbyPhase
-
Field Summary
Fields inherited from class de.kentoj.scrow.bukkit.minigame.phase.AbstractPhase
ctx -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract PhaseFlowprotected voidonCancel()Called together withAbstractPhase.onEnd()but only called when the phase was cancelled due to an errorprotected voidonStart()Shall callPhaseFlow.advancePhase()Methods inherited from class de.kentoj.scrow.bukkit.minigame.phase.AbstractPhase
advancePhase, cancel, end, onEnd, onTick, start
-
Constructor Details
-
CompositePhase
-
-
Method Details
-
getSubPhaseFlow
-
onStart
protected void onStart()Description copied from class:AbstractPhaseShall callPhaseFlow.advancePhase()- Specified by:
onStartin classAbstractPhase<T extends Minigame>
-
onCancel
protected void onCancel()Description copied from class:AbstractPhaseCalled together withAbstractPhase.onEnd()but only called when the phase was cancelled due to an error- Specified by:
onCancelin classAbstractPhase<T extends Minigame>
-