Beispiel #1
0
 public virtual void ChangeState(AbstractState newState)
 {
     Helper.GuardNotNull(newState);
     _state = newState;
     OnStateChanged();
 }
Beispiel #2
0
 public virtual void ChangeState(AbstractState newState)
 {
     Helper.GuardNotNull(newState);
     _state = newState;
     OnStateChanged();
 }