In a Greenfoot scenario in Java, how can I have a value stay consistent across every single actor and world class (class, not just the objects)? Some of them would have to be defined by the player during runtime.
public static final int WIDE = 600, HIGH = 400;
public MyWorld()
{
super(WIDE, HIGH, 1);
}int worldWidth = MyWorld.WIDE; int worldHeight = MyWorld.HIGH;