Package de.kentoj.scrow.bukkit.minigame
Class LinearPhaseFlow
java.lang.Object
de.kentoj.scrow.bukkit.minigame.LinearPhaseFlow
- All Implemented Interfaces:
PhaseFlow
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidend the current phase, go to the next phase and start itvoidvoidend the current phase, go to the previous phase and start itstart()CompletableFuture is completed when the game finishes
-
Constructor Details
-
LinearPhaseFlow
public LinearPhaseFlow()
-
-
Method Details
-
add
-
advancePhase
public void advancePhase()Description copied from interface:PhaseFlowend the current phase, go to the next phase and start it- Specified by:
advancePhasein interfacePhaseFlow
-
rewindPhase
public void rewindPhase()Description copied from interface:PhaseFlowend the current phase, go to the previous phase and start it- Specified by:
rewindPhasein interfacePhaseFlow
-
handlePhaseError
public void handlePhaseError()- Specified by:
handlePhaseErrorin interfacePhaseFlow
-
start
Description copied from interface:PhaseFlowCompletableFuture is completed when the game finishes
-