/// <summary> /// Initializes a new instance for the RoverPosition /// </summary> /// <param name="coordinate">Sets the Rover's position</param> /// <param name="direction">Sets the Rover's direction</param> public RoverPosition(Coordinate coordinate, RoverDirectionEnum direction) { this.Coordinate = coordinate; this.Direction = direction; }
/// <summary> /// As default, RoverPosition's coordinate is (0,0) and direction is North /// </summary> public RoverPosition() { this.Coordinate = new Coordinate(0, 0); this.Direction = RoverDirectionEnum.North; }