Browse Source

feat: remove GameActor reference from GameState once assigned to AI

rdh-local-prototype-endturn
Rob Hallam 2 months ago
parent
commit
7a182cb7ea
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      app/structures/GameState.java

+ 1
- 0
app/structures/GameState.java View File

@@ -41,5 +41,6 @@ public class GameState {
this.currentPlayer = 1;
// create the AI player:
this.aiPlayer = new AIPlayer(this.gameActor);
this.gameActor = null;
}
}

Loading…
Cancel
Save