Esempio n. 1
0
 /// <summary>
 /// Initialize with position and a boundary
 /// </summary>
 public Robot(int x, int y)
 {
     //defaults
     Plateau         = new Plateau(x, y);
     CurrentPosition = new Position(0, 0, Facing.N);
 }
Esempio n. 2
0
 public RoverOperation(Plateau surface, string assignedPosition, string controllerInput)
 {
     ParseRoverPosition(assignedPosition);
     ControllerCommand(controllerInput);
 }