Пример #1
0
 public void TurnLeft()
 {
     this.RoverState = this.RoverState.TurnLeft();
 }
Пример #2
0
 public void TurnRight()
 {
     this.RoverState = this.RoverState.TurnRight();
 }
Пример #3
0
 public Rover(Point coordinates, string direction)
 {
     this.RoverState = DirectionStateFactory.Create(coordinates, direction);
 }