Пример #1
0
 public void CheckCurrentState()
 {
     currentState.CheckCurrentState(this);
 }
Пример #2
0
 public void SetState(SystemState systemState)
 {
     currentState = systemState;
     currentState.CheckCurrentState(this);
 }