AccessorHolder

A holder of IndexedAccessors that provides logic for reading data off them and calculating their per-archetype cache.

Inheritors

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
inline fun <T : Accessor<*>> addAccessor(create: (index: Int) -> T): T
Link copied to clipboard

Calculates, or gets cached values for an archetype

Link copied to clipboard

Gets a component, ensuring it is on the entity.

Link copied to clipboard

Gets a component or provides a default if the entity doesn't have it.

Link copied to clipboard

Gets a component or null if the entity doesn't have it.

Link copied to clipboard

Queries for a specific relation or by kind/target.

Link copied to clipboard
operator fun <T : IndexedAccessor<*>> AccessorBuilder<T>.provideDelegate(thisRef: Any, property: KProperty<*>): T

Properties

Link copied to clipboard

A lazily built immutable family that represents all data this holder needs to function.

Link copied to clipboard

Is the family of this holder not restricted in any way?