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