Example #1
0
 private void ExplosionManager_OnStateExit(object sender, ExplosionManager.OnStateExitEventArgs e)
 {
     // Enter state if any hexagon exploded in the previous state.
     if (e.stateToGo == States.Rotation)
     {
         ContinueState();
     }
 }
Example #2
0
 private void InputManager_OnStateExit(object sender, ExplosionManager.OnStateExitEventArgs e)
 {
     // Enter state if any hexagon exploded in the previous state.
     if (e.stateToGo == States.Input)
     {
         EnterState();
     }
 }