Please excuse me, I am new to Greenfoot and still learning on the Wombat Scenario.
I googled everywhere but i cant find the code i need.
So it should be Repeat until a certain condition is met. Lets say i have a method downwards() and it should execute this until getWorld.getWidth() == getX() then it should execute method upwards() until getY() == 0 && getX() == 0. Then it should execute downwards again. How do i create this Loop?