Hey, I'm trying to make the value of the variable "speed" of "Boy" actor to the variable "speed" of "Girl" actor but don't know how to do it.
I've already managed to make it with a World class, but not with an actor class.
For the world, it looked like this and worked well : (boyspeed is the variable in myWorld and speed is the variable in Boy)
What code do I need to type to do the same thing for an actor ?
public void setBoySpeed()
{
((myWorld)getWorld()).boyspeed = speed;
}

