public void ChangeState(string stateId)
 {
     System.Diagnostics.Debug.Assert(Exists(stateId));
     _currentState = _stateStore[stateId];
     _currentState.Activated();
 }
Esempio n. 2
0
 public void ChangeState(string stateId)
 {
     System.Diagnostics.Debug.Assert(Exists(stateId));
     _currentState = _stateStore[stateId];
     _currentState.Activated();
 }