Example #1
0
 /// <summary>
 /// functions to define the stak functionality
 /// </summary>
 public void PopState()
 {
     if (currentState != null)
     {
         currentState.OnStateExit();
     }
 }