plusAssign

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

Allows to append elements to arrays with array += element syntax.

Parameters

element

will be added to the array.


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

Allows to quickly add all elements of another iterable to this array with += operator syntax.

Parameters

elements

will be added to the array.


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

Allows to quickly add all elements of a native array to this array with += operator syntax.

Parameters

elements

will be added to the array.


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

Allows to append elements to sets with += operator syntax.

Parameters

element

will be added to the set.


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

Allows to add all elements of another iterable to this set with += operator syntax.

Parameters

elements

will be added to the set.


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

Allows to add all elements of an array to this set with += operator syntax.

Return

this set.

Parameters

elements

will be added to the set.