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); }
public TroopAi(TroopMap troopMap, Board board) { this.troopMap = troopMap; this.board = board; }
public MoveValidator(TroopMap map, Board area, PlayerSide player0) { this.map = map; this.area = area; activePlayer = player0; }