EntityInstance

typealias EntityInstance = Int

An EntityInstance is an opaque 32-bit identifier representing a component instance.

Component instances are created when a component is attached to an entity via managers like RenderableManager, LightManager, or TransformManager. Instances are ephemeral handles and should not be stored; use Entity IDs instead.

See also