Esempio n. 1
0
 public void RemoveState(State state)
 {
     _states.Remove(state);
 }
Esempio n. 2
0
 public void AddState(State state, bool change)
 {
     _states.Add(state);
     if (!change) return;
     if (CurrentState != null) {
         CurrentState.Close();
     }
     CurrentState = _states.Last();
     CurrentState.Load();
 }