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 PowerCard extends ClientState {
private final PowerCardStateMachine powerCardStateMachine = new PowerCardStateMachine();
private final PowerCardStateMachine powerCardStateMachine;
protected PowerCard(ClientState parent, ClientGameLogic logic) {
super(parent, logic);
this.powerCardStateMachine = new PowerCardStateMachine(parent, logic);
}
}