public void SetUpCompetition(InputCompetitionDataDTO competitionData) { _robots = _robotMapper.FromListRobotDTOToListRobot(competitionData.RobotsToDeploy); _battleArena.SetUpArena( _arenaMapper.FromArenaCoordinatesDTOToArenaCoordinates(competitionData.ArenaBottomLeftCoords), _arenaMapper.FromArenaCoordinatesDTOToArenaCoordinates(competitionData.ArenaUpperRightCoords) ); _battleArena.DeployRobots(_robots); _navigationSystem.ConnectNavigationSystemToBattleArena(_battleArena); _competitionIsReady = true; }
public void Should_setup_arena() { battleArena.SetUpArena(null, null); }