Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void myMainProgram() {
- world.setSize(20, 20);
- kara.setPosition(1,5);
- int anz = 4;
- int seitenzahl = 4;
- for (int seite=1; seite <= seitenzahl; seite ++){
- for (int i=1; i <= anz; i++)
- {
- kara.move ();
- kara.putLeaf();
- }
- kara.turnLeft();}
- kara.turnRight();
- kara.move();
- kara.move();
- {
- kara.move ();
- kara.putLeaf();
- }
- kara.turnLeft();}
Add Comment
Please, Sign In to add comment