added the constructors for all client states and their statemachines

This commit is contained in:
Fleischer Hanno
2024-11-24 16:02:04 +01:00
committed by Felix
parent 85ea4d340c
commit 6938ce16b7
46 changed files with 319 additions and 9 deletions

View File

@@ -1,5 +1,10 @@
package pp.mdga.client;
public class Turn extends ClientState {
private final TurnStateMachine turnStateMachine = new TurnStateMachine();
private final TurnStateMachine turnStateMachine;
protected Turn(ClientState parent, ClientGameLogic logic) {
super(parent, logic);
this.turnStateMachine = new TurnStateMachine(parent, logic);
}
}