public void ApplicationStateChanged(StackOperationEvent <T> e)
        {
            m_View.ShowView(true);
            var newStack = StackVisualizerUtility.CreateTemplatesFor(e.NewStackValue);

            m_View.SetStack(newStack);
        }
 void OnStackPostprocess(StackOperationEvent <AppState> e, Action onComplete)
 {
     if (e.State.Equals(AppState.Game) || e.State.Equals(AppState.MainMenu))
     {
         m_Preloader.FadeOut(onComplete.Invoke);
     }
     else
     {
         onComplete.Invoke();
     }
 }
Esempio n. 3
0
 void OnStackPreprocess(StackOperationEvent <GameState> e, Action onComplete)
 {
     if (e.State.Equals(GameState.Game) || e.State.Equals(GameState.Menu))
     {
         m_Preloader.FadeIn(onComplete.Invoke);
     }
     else
     {
         onComplete.Invoke();
     }
 }
 public void OnApplicationStateWillChanged(StackOperationEvent <AppState> e)
 {
 }
 public void ApplicationStateChanged(StackOperationEvent <AppState> e)
 {
 }