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
parent f425eff26b
commit 1d4048cf16
46 changed files with 319 additions and 9 deletions

View File

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