Hey greenfoot fans,
i want to send a list of booleans from world1 to world2. these booleans are like settings for the rest of the game. I tried it with methods, but non-static problems.
Has anyone an idea?
World2 myWorld = new Worlds2(); int value = ((World1) getWorld()).getValue(); myWorld.setValue(value); Greenfoot.setWorld(myWorld);
World2 w2 = new World2(); w2.setValues(boolOne, boolTwo, boolThree); Greenfoot.setWorld(w2);