Example #1
0
 /// <summary>
 /// This ends the current state permanantly and changes to a new state.
 ///
 /// </summary>
 /// <param name="nextState"></param>
 public void changeState(BotAIState nextState)
 {
     previousState = currentState;
     currentState  = nextState;
 }
Example #2
0
 /// <summary>
 /// This ends the current state permanantly and changes to a new state.
 /// 
 /// </summary>
 /// <param name="nextState"></param>
 public void changeState(BotAIState nextState)
 {
     previousState = currentState;
     currentState = nextState;
 }