EntityProvider

Functions

Link copied to clipboard
abstract fun create(initialComponents: Collection<Component> = emptyList()): Entity

Creates a new entity.

Link copied to clipboard
abstract fun getType(entity: Entity): EntityType

Gets an entity's type

Link copied to clipboard
abstract fun remove(entity: Entity)

Removes an entity, freeing up its entity id for later reuse.