minusAssign

operator fun Stage.minusAssign(action: Action)

Alias for Stage.root.removeAction method. Removes global stage actions with -= operator.

Parameters

action

will be removed from the stage root actor.


operator fun Actor.minusAssign(action: Action)

Alias for Actor.removeAction method. Allows to remove actions from the actor with -= operator.

Parameters

action

will be removed from this actor.


operator fun Group.minusAssign(actor: Actor)

Alias for Group.removeActor method. Allows to remove actors from the group with -= operator.

Parameters

actor

will be removed from the group.


operator fun Stage.minusAssign(actor: Actor)

Removes actors from root group of the stage. Allows to remove actors from the stage with -= operator. If actor is not added directly to the stage this method might have no effect.

Parameters

actor

will be removed if it is added directly to the stage.