private static void LoadSceneInternal() { Notifier.SendEventNotification(OnLoadScene); MatchStateManager.Clear(); }
// Resumes the Match state. public static void ResumeMatch() { SetState(MatchState.MAIN); Notifier.SendEventNotification(OnMatchResume); }
// Resets the Match state. public static void ResetMatch() { SetState(MatchState.BEGIN); Notifier.SendEventNotification(OnMatchReset); }
public static void EndMatch() { SetState(MatchState.END); Notifier.SendEventNotification(OnMatchEnd); }
// Pauses the Match state. public static void PauseMatch() { SetState(MatchState.PAUSE); Notifier.SendEventNotification(OnMatchPause); }
// Starts the Match. public static void StartMatch() { SetState(MatchState.MAIN); Notifier.SendEventNotification(OnMatchStart); }
// Signals the period before the match starts. public static void StartPreMatch() { SetState(MatchState.BEGIN); Notifier.SendEventNotification(OnPreMatchStart); }
public static void ExitMatch() { Notifier.SendEventNotification(OnMatchExit); Clear(); }
public void TriggerEvent <T>(EventHandler <T> handler, T args) { Notifier.SendEventNotification(handler, args); }
public void TriggerEvent(EventHandler handler) { Notifier.SendEventNotification(handler); }