Interface PhaseFlow
- All Known Implementing Classes:
LinearPhaseFlow
public interface PhaseFlow
-
Method Details
-
getName
String getName() -
advancePhase
void advancePhase()end the current phase, go to the next phase and start it -
rewindPhase
void rewindPhase()end the current phase, go to the previous phase and start it -
handlePhaseError
void handlePhaseError() -
start
CompletableFuture<Void> start()CompletableFuture is completed when the game finishes
-