removeAll
Parameters
elements
will be iterated over and removed from the array.
identity
if true, values will be compared by references. If false, equals method will be invoked.
inline fun <Type> GdxArray<Type>.removeAll(pool: Pool<Type>? = null, predicate: (Type) -> Boolean): Boolean
Removes elements from the array that satisfy the predicate.
Return
true if the array was modified, false otherwise.
Parameters
pool
Removed items are freed to this pool.
Parameters
elements
will be iterated over and removed from the set.