Exemple #1
0
 /// <summary>
 /// Replaces the state at the specified index
 /// </summary>
 /// <param name="newState">New state.</param>
 /// <param name="index">Index.</param>
 public void ReplaceStateAtIndex(BaseState newState, int index)
 {
     states[index] = newState;
 }