25개 이상의 토픽을 선택하실 수 없습니다.
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- 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.
- *
- * @author Dr. Richard McCreadie
- *
- */
- 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;
-
- }
|