Hello, my problem is, that I want to execute a void that is written in a world, from an actor in the world(for the reason, that I have many variables that are saved in worlds, and I need this to get them in the world, where the Actor is, to set a specific world)
the code in the actor, that should execute the void in the World:
the "door_left" is the void it should execute.
I hope you can help me.
Thanks in advance.
public void act()
{
if(Greenfoot.mouseClicked(this)==true)
{
getWorld().door_left;
}
}
