made all con structors of clients states public

This commit is contained in:
Fleischer Hanno
2024-11-24 21:56:32 +01:00
parent 653c3fb962
commit 83c79af31a
41 changed files with 71 additions and 42 deletions

View File

@@ -3,8 +3,12 @@
public class GameState extends ClientState {
private final GameStateMachine gameStateMachine;
protected GameState(ClientState parent, ClientGameLogic logic) {
public GameState(ClientState parent, ClientGameLogic logic) {
super(parent, logic);
this.gameStateMachine = new GameStateMachine(parent, logic);
}
public GameStateMachine getGameStateMachine() {
return gameStateMachine;
}
}