add

fun add(entity: Entity): Entity(source)

Add an entity to the collection.

Return

The entity that was added.

Parameters

entity

The entity to be added.

See also