minusAssign

operator fun <Type> GdxArray<Type>.minusAssign(element: Type)

Allows to remove elements from arrays with array -= element syntax.

Return

this array.

Parameters

element

will be removed from the array.


operator fun <Type> GdxArray<Type>.minusAssign(elements: Iterable<Type>)

Allows to quickly remove all elements of another iterable from this array with -= operator syntax.

Parameters

elements

will be removed from the array.


operator fun <Type> GdxArray<Type>.minusAssign(elements: Array<out Type>)

Allows to quickly remove all elements of a native array from this array with -= operator syntax.

Parameters

elements

will be removed from the array.


operator fun <Type> GdxSet<Type>.minusAssign(element: Type)

Allows to remove elements from sets -= operator syntax.

Parameters

element

will be removed from this set.


operator fun <Type> GdxSet<Type>.minusAssign(elements: Iterable<Type>)

Allows to remove all elements of another iterable from this set with -= operator syntax.

Parameters

elements

will be removed from the set.


operator fun <Type> GdxSet<Type>.minusAssign(elements: Array<out Type>)

Allows to remove all elements of an array from this set with -= operator syntax.

Parameters

elements

will be removed from the set.