Пример #1
0
 private void EnterState(CreatureState state)
 {
     currentState.Exit();
     currentState = state;
     currentState.Enter();
 }