Sfoglia il codice sorgente

feat: remove GameActor reference from GameState once assigned to AI

rdh-local-prototype-endturn
Rob Hallam 9 mesi fa
parent
commit
7a182cb7ea
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. +1
    -0
      app/structures/GameState.java

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

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

Caricamento…
Annulla
Salva