Package-level declarations

Types

Link copied to clipboard
interface Accessor<out T>
Link copied to clipboard
fun interface AccessorBuilder<out T : Accessor<*>>

A builder that can provide an accessor for AccessorHolders.

Link copied to clipboard

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

Link copied to clipboard

An empty interface that limits AccessorBuilder helper functions only to classes that use Accessors.

Link copied to clipboard
expect interface AccessorScopeSelector
actual interface AccessorScopeSelector
actual interface AccessorScopeSelector
Link copied to clipboard
open class ArchetypeCacheScope(val archetype: Archetype, val perArchetypeData: List<List<Any?>>)

A scope provided to Accessors to cache data per archetype.

Link copied to clipboard
class EventScope(val entity: Entity, data: List<*>) : ResultScope

Stores processed data for the event entity in an event.

Link copied to clipboard
abstract class PerArchetypeCache<T>(val index: Int, val cacheIndex: Int) : ReadOnlyProperty<ArchetypeCacheScope, T>

Handles retrieving and calculating values per archetype with an assigned index for an Accessor.

Link copied to clipboard
class RawAccessorDataScope(val archetype: Archetype, val perArchetypeData: List<List<Any?>>, val row: Int) : ArchetypeCacheScope

An ArchetypeCacheScope with a reference to a specific entity in that archetype. It will be processed by an Accessor into a ResultScope.

Link copied to clipboard
data class RelationWithData<K : Component?, T : Component?>(val data: K, val targetData: T, val relation: Relation)
Link copied to clipboard
open class ResultScope(val entity: Entity, data: List<*>)

A generic scope for processed data.

Link copied to clipboard
open class SourceScope(val entity: Entity, data: List<*>) : ResultScope

Stores processed data for the source entity in an event.

Link copied to clipboard
open class TargetScope(val entity: Entity, data: List<*>) : ResultScope

Stores processed data for the target entity in any GearySystem.