I'm new to java and I was wondering how I would impliment a menu system in my game, I want some thing like this
I click and actor
then the world changes


1 2 3 4 | if (Greenfoot.mouseClicked( this )) { Greenfoot.setWorld(world); // the 'world' in the '()' is a reference to whatever world you want } |