Query

com.mineinabyss.geary.ecs.engine.iteration.accessors

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
inline fun fastForEach(crossinline run: (TargetScope) -> Unit)
Link copied to clipboard
fun flow(): Flow<TargetScope>
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> Accessor<T>.getValue(thisRef: TargetScope, property: KProperty<*>): T
Link copied to clipboard
open operator override fun iterator(): Iterator<TargetScope>
Link copied to clipboard
operator fun <T : IndexedAccessor<*>> AccessorBuilder<T>.provideDelegate(thisRef: Any, property: KProperty<*>): T
operator fun Family.provideDelegate(thisRef: GearyQuery, property: KProperty<*>): DirectAccessor<Family>

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?