TagDelegate

interface TagDelegate<T : Component>

Common interface for property delegates wrapping around flag components. These properties should generally wrap Components that do not have any fields, and instead their presence alone is used for filtering or associated logic. An example of such component could be a Visible class that marks entities that should be rendered.

Inheritors

Functions

Link copied to clipboard
abstract operator fun getValue(thisRef: Entity, property: KProperty<*>): Boolean
Link copied to clipboard
abstract operator fun setValue(thisRef: Entity, property: KProperty<*>, value: Boolean)