ok... this is weird, so I call the method in the constructor for MyWorld, everything compiles. However, the world doesn't show up. Like there's nothing on the main screen. The run button is grey. The entire page is blank....
I want to keep adding blocks to the world to create a platform. When I use a while loop, it doesn't work. But when I use a for loop where i < 100 does work.............
The code below shows what I tried to do:
MyWorld:
public void createContinualPlatform() { while (true) { grassPlain = new GrassPlain(); addObject(grassPlain, XCo, YCo); XCo += 48; } }