Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

GameState.java 577 B

123456789101112131415161718192021222324252627
  1. package structures;
  2. import actors.GameActor;
  3. import structures.basic.AIPlayer;
  4. /**
  5. * This class can be used to hold information about the on-going game.
  6. * Its created with the GameActor.
  7. *
  8. * @author Dr. Richard McCreadie
  9. *
  10. */
  11. public class GameState {
  12. public boolean gameInitalised = false;
  13. public boolean something = false;
  14. public int currentPlayer = 1;
  15. public AIPlayer aiPlayer = new AIPlayer();
  16. // bit of a hack but include a reference to the GameActor so AIPlayer can send messages to it
  17. public GameActor gameActor;
  18. }