added more logic for the server state diagram

This commit is contained in:
Daniel Grigencha
2024-11-17 20:17:19 +01:00
parent 9662e1f684
commit f379a6b638
21 changed files with 374 additions and 16 deletions

View File

@@ -6,7 +6,7 @@ public TurnStateMachine(ServerState parent, ServerGameLogic logic) {
}
@Override
public ServerState initialState() {
return null;
public PowerCard initialState() {
return new PowerCard(this, logic);
}
}