remove

fun remove(entity: Entity): Boolean(source)

Removes an entity from the collection.

Return

true if the item was removed, false if it did not exist in the collection.

Parameters

entity

The entity to be removed.

See also