Updated 'TurnState' class.

Updated the 'TurnState' class by setting the start state in it.
This commit is contained in:
Daniel Grigencha
2024-12-03 01:31:22 +01:00
parent 35ab777f04
commit 5aaf8d4850

View File

@@ -36,6 +36,7 @@ public TurnState(GameState gameAutomaton, ServerGameLogic logic) {
this.rollDiceState = new RollDiceState(this, logic);
this.choosePieceState = new ChoosePieceState(this, logic);
this.movePieceState = new MovePieceState(this, logic);
this.setCurrentState(this.powerCardState);
}
@Override