Esempio n. 1
0
 public void TransitionToState(QB_Base_State state)
 {
     if (currentState != null)
     {
         currentState.CleanUp(this);
     }
     currentState = state;
     currentState.EnterState(this);
 }
 public void TransitionToState(QB_Base_State state)
 {
     currentState = state;
     currentState.EnterState(this);
 }