Пример #1
0
 private void ExitPreviousState()
 {
     _currentState.OnExit();
     _previousState = _currentState;
 }