dynamic removeActor(Actor actor)

Removes the actor from the view.

Source

removeActor(Actor actor)
{
    remove(actor.name);
}