Package-level declarations
Types
Link copied to clipboard
open class ComponentAccessor<T : Component?>(index: Int, componentId: ComponentId) : IndexedAccessor<T>
Implements the accessor get operation.
Link copied to clipboard
class ComponentOrDefaultAccessor<T : Component?>(index: Int, componentId: ComponentId, default: T) : ComponentAccessor<T>
Implements the accessor getOrDefault operation.
Link copied to clipboard
Link copied to clipboard
Accessors allow us to read components off an entity after a data preprocessing step.
Link copied to clipboard
open class RelationWithDataAccessor<K : Component?, T : Component?>(index: Int, kind: ComponentId, target: EntityId) : IndexedAccessor<RelationWithData<K, T>>