dynamic handleCollision(Actor actor)

Source

handleCollision(Actor actor)
{
    if (actor is Enemy) this.world.removeActor(actor);
}