Esempio n. 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;
 }
Esempio n. 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;
 }