Ejemplo n.º 1
0
 public void turnLeft() {
   try {
     robot.rotate(Robot.Turn.LEFT);
     updateHandlerProgress();
   } catch (BadTurnException e) {
     Log.v("debug", "Can't turn left!");
   }
 }
Ejemplo n.º 2
0
 public void turnRight() {
   try {
     robot.rotate(Robot.Turn.RIGHT);
     updateHandlerProgress();
   } catch (BadTurnException e) {
     Log.v("debug", "Can't turn right!");
   }
 }