Пример #1
0
 public virtual void MoveTurnLeft() => RoverState  = new TurnLeftState(this);
Пример #2
0
 public virtual void MoveTurnRight() => RoverState = new TurnRightState(this);
Пример #3
0
 public virtual void MoveForward() => RoverState   = new ForwardState(this);