Esempio n. 1
0
 public GameController(IBattleResolver battleResolver, Board board, Waves waves)
 {
     this.battleResolver = battleResolver;
     this.waves          = waves;
     this.board          = board;
     troopMap            = new TroopMap(board);
     validator           = new MoveValidator(troopMap, board, activePlayer);
     troopAi             = new TroopAi(troopMap, board);
 }
Esempio n. 2
0
 public TroopAi(TroopMap troopMap, Board board)
 {
     this.troopMap = troopMap;
     this.board    = board;
 }
Esempio n. 3
0
 public MoveValidator(TroopMap map, Board area, PlayerSide player0)
 {
     this.map     = map;
     this.area    = area;
     activePlayer = player0;
 }