bubel.ecs.entity

Entity module.

Members

Functions

becsID (from bubel.ecs.traits)
ushort becsID(T obj) via public import bubel.ecs.traits : becsID;

Return Component/System/Event unique ID

Structs

ComponentRef
struct ComponentRef

ComponentRef contain component ID and pointer to it. It used to add component data to entity.

Entity
struct Entity

Structure of Entity. It's have only ID, but have full konwlege to get to components memory (If pointer to it is proper).

EntityID
struct EntityID

Entity ID structure. Used as reference to Entity. Pointer to entity should be ever used to store entity reference!

EntityMeta
struct EntityMeta
Undocumented in source.
EntityTemplate
struct EntityTemplate

Entity template structure.

Meta

License

BSD 3-clause, see LICENSE file in project root folder.