RepeatingSystem
Guide: Ticking systems
A system for the ECS that will run every interval ticks.
Parameters
interval
How often to run this system in ticks.
See also
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Gets a component, ensuring it is on the entity.
Link copied to clipboard
inline fun <T : Component?> getOrDefault(default: T): AccessorBuilder<ComponentOrDefaultAccessor<T>>
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
inline fun <K : Component?, T : Component?> getRelations(): AccessorBuilder<RelationWithDataAccessor<K, T>>
Queries for a specific relation or by kind/target.
Link copied to clipboard
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>