Exemple #1
0
 public void DoAction(Rover rover)
 {
     rover.GetCurrentState().ChangeDirection(rover, TurnDirection.Right);
 }
 public void DoAction(Rover rover)
 {
     rover.GetCurrentState().MoveAhead(rover);
 }