//Constructor
 public BoardManager(SideInfoManager sideInfoManager)
 {
     this.sideInfoManager = sideInfoManager;
     tiles               = new Dictionary <int, Dictionary <int, Tile> >();
     boardObjects        = new Dictionary <int, Dictionary <int, BoardObject> >();
     player1             = new Player("Player 1");
     player2             = new Player("Player 2");
     nobody              = new Player("Nobody");
     player1.EnemyPlayer = player2;
     player2.EnemyPlayer = player1;
     currentPlayer       = player1;
     selectedCommand     = Command.None;
 }
示例#2
0
 public CombatScreen()
 {
     sideInfoManager = new SideInfoManager(900, 0);
     boardManager    = new BoardManager(sideInfoManager);
 }