TypeMap

interface TypeMap

Inheritors

Functions

Link copied to clipboard
abstract operator fun contains(entity: Entity): Boolean

Checks if an entity has a record associated with it.

Link copied to clipboard
abstract operator fun get(entity: Entity): Record

Gets the record of a given entity, or throws an error if the entity id is not active in the engine.

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

Removes a record associated with an entity.

Link copied to clipboard
abstract operator fun set(entity: Entity, record: Record)

Updates the record of a given entity