I have a world Game1 with a variable score in an actor Score. I want to display the value of the variable score in another world, MainMenu. How would I do this?


MainMenu mm = new MainMenu(); mm.addObject(/* counter reference, x-coord, y-coord */); Greenfoot.setWorld(mm);