Guest User

Untitled

a guest
Oct 21st, 2017
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. public void myMainProgram() {
  2. world.setSize(20, 20);
  3. kara.setPosition(1,5);
  4. int anz = 4;
  5. int seitenzahl = 4;
  6. for (int seite=1; seite <= seitenzahl; seite ++){
  7. for (int i=1; i <= anz; i++)
  8. {
  9.  
  10. kara.move ();
  11. kara.putLeaf();
  12. }
  13. kara.turnLeft();}
  14. kara.turnRight();
  15. kara.move();
  16. kara.move();
  17. {
  18.  
  19. kara.move ();
  20. kara.putLeaf();
  21. }
  22. kara.turnLeft();}
Add Comment
Please, Sign In to add comment