I need the subclass to be able to address the class with the variable "world", which is one of the worldsThe problem is that I don't know what type of variable to put for world
//class
public void Changer(String world) {
Greenfoot.setWorld(new MyWorld());
}
//subclass
if(Greenfoot.mouseClicked(this)) {
lcb.Changer("MyWorld");
}
