|
|
@@ -1,5 +1,8 @@ |
|
|
|
package structures;
|
|
|
|
|
|
|
|
import actors.GameActor;
|
|
|
|
import structures.basic.AIPlayer;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* This class can be used to hold information about the on-going game.
|
|
|
|
* Its created with the GameActor.
|
|
|
@@ -13,5 +16,12 @@ public class GameState { |
|
|
|
public boolean gameInitalised = false;
|
|
|
|
|
|
|
|
public boolean something = false;
|
|
|
|
|
|
|
|
public int currentPlayer = 1;
|
|
|
|
|
|
|
|
public AIPlayer aiPlayer = new AIPlayer();
|
|
|
|
|
|
|
|
// bit of a hack but include a reference to the GameActor so AIPlayer can send messages to it
|
|
|
|
public GameActor gameActor;
|
|
|
|
|
|
|
|
}
|