public Rover() { CurrentPosition = new RoverPosition() { Direction = CardinalDirection.North }; }
public static Coordinates Move(int command, RoverPosition currentPosition) { return(MoveFunctions[currentPosition.Direction](currentPosition.Coordinates, Convert.ToInt32(command))); }
public Rover(RoverPosition startingPosition) { CurrentPosition = startingPosition; }