/// <summary> /// Turn right /// </summary> public void TurnRight() { this.CurrentPosition.Direction = RoverAction.TurnRight(this.CurrentPosition.Direction); }
/// <summary> /// Move /// </summary> public void Move() { CheckRoverIsAtValidGridBoundaries(); this.CurrentPosition = RoverAction.Move(this.CurrentPosition); }