removeAll

fun removeAll(collection: Collection<T>): Boolean

Removes all GameComponentViews contained in collection from this GameComponentContainer.

Return

true if the GameComponentContainer was altered by the call, false otherwise.

Parameters

collection

The GameComponentViews to remove.


fun removeAll(predicate: (T) -> Boolean): Boolean

Removes all GameComponentViews matching the predicate from this GameComponentContainer.

Return

true if the GameComponentContainer was altered by the call, false otherwise.

Parameters

predicate

The predicate to evaluate.