public void spin_right(ref Rover rover) { rover.Heading = Compass.Get(rover.Heading.right_direction); }
public IControlRover facing_towards(char direction) { rover.Heading = Compass.Get(direction); return(new ControlRover(rover)); }
public void spin_left(ref Rover rover) { rover.Heading = Compass.Get(rover.Heading.left_direction); }