public IEnumerable<SpawnPoint> GetSpawnPoints(TeamBattle.Team team) { return SpawnPointMapper[team]; }
private void OnStartClick(object sender, EventArgs e) { TeamBattle battle = new TeamBattle(); battle.AddPlayer("Test", TeamBattle.Team.Red); battle.AddBots(0, 1); Application.SchedulePopState(); Application.SchedulePushState(new GameState(Application, battle, "Test")); }