SHARE
TWEET

a

benjaminliu Oct 12th, 2017 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public void up()
  2. {
  3. while (wallOnRight)
  4.     move();
  5. turnRight();
  6. }
  7.  
  8. public void over()
  9. {
  10. while (wallOnRight)
  11.     move();
  12. turnRight();
  13. }
  14.  
  15. public void down()
  16. {
  17. while (frontIsClear)
  18. move();
  19. turnLeft();
  20. }
RAW Paste Data
Top