Listener
Functions
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
Fires when an entity has a component of type T set, only if it was not set before.
Link copied to clipboard
Fires when an entity has a component of type T set or updated.
Link copied to clipboard
Link copied to clipboard