condition
fun condition(condition: (InputState) -> Boolean, block: ConditionBuilderBlock<InputState, S, A>.() -> Unit)
Allows handling certain actions or events only while an extra condition is true
for the current state.
Allows handling certain actions or events only while an extra condition is true
for the current state.