Пример #1
0
 public void ChangeDirection(ISnakeState state)
 {
     directionStates.Enqueue(state);
 }
Пример #2
0
 public void AddState(ISnakeState state)
 {
     states.Enqueue(state);
 }