/// <summary> /// Starts the round, allowing the player to build etc. /// </summary> public void BeginRound() { ProjectileController.Singleton.ClearProjectiles(); VehicleController.Singleton.ClearVehicles(); RoundCleanController.Singleton.ResetRound(); ChallengesController.ResetChallengeValues(); ReadyActionControllers(); RoundSurpriseController.Singleton.ResetRoundSurprise(); StartCoroutine("BuildCycle"); }
/// <summary> /// Creates a new round from a random round template. /// </summary> public void CreateNewRound() { BorderController.HideBorder(); RoundCleanController.Singleton.CleanRound(); StopCoroutine("BuildCycle"); StopCoroutine("ActionPhase"); roundHasEnded = false; currentRound = new Round(ChooseRoundTemplate()); ChallengesController.ResetChallengeValues(); UIChallengesController.Singleton.InitializeUIChallenges(currentRound.RoundChallenges); }