void initialize(World world)

Called when the actor is instantiated in the world

Source

void initialize(World world)
{
    _world = world;
    this.name = "Actor" + world.genUID();
}