예제 #1
0
 private static void LoadSceneInternal()
 {
     Notifier.SendEventNotification(OnLoadScene);
     MatchStateManager.Clear();
 }
예제 #2
0
        // Resumes the Match state.
        public static void ResumeMatch()
        {
            SetState(MatchState.MAIN);

            Notifier.SendEventNotification(OnMatchResume);
        }
예제 #3
0
 // Resets the Match state.
 public static void ResetMatch()
 {
     SetState(MatchState.BEGIN);
     Notifier.SendEventNotification(OnMatchReset);
 }
예제 #4
0
        public static void EndMatch()
        {
            SetState(MatchState.END);

            Notifier.SendEventNotification(OnMatchEnd);
        }
예제 #5
0
        // Pauses the Match state.
        public static void PauseMatch()
        {
            SetState(MatchState.PAUSE);

            Notifier.SendEventNotification(OnMatchPause);
        }
예제 #6
0
        // Starts the Match.
        public static void StartMatch()
        {
            SetState(MatchState.MAIN);

            Notifier.SendEventNotification(OnMatchStart);
        }
예제 #7
0
        // Signals the period before the match starts.
        public static void StartPreMatch()
        {
            SetState(MatchState.BEGIN);

            Notifier.SendEventNotification(OnPreMatchStart);
        }
예제 #8
0
        public static void ExitMatch()
        {
            Notifier.SendEventNotification(OnMatchExit);

            Clear();
        }
예제 #9
0
 public void TriggerEvent <T>(EventHandler <T> handler, T args)
 {
     Notifier.SendEventNotification(handler, args);
 }
예제 #10
0
 public void TriggerEvent(EventHandler handler)
 {
     Notifier.SendEventNotification(handler);
 }