StateMachine

class StateMachine<T : Any, ModelStates : Enum<*>, C : KlerkContext, V>(type: KClass<T>)

Constructors

Link copied to clipboard
constructor(type: KClass<T>)

Functions

Link copied to clipboard
Link copied to clipboard
fun state(modelState: ModelStates, init: InstanceState<T, ModelStates, C, V>.() -> Unit)
Link copied to clipboard
fun voidState(init: VoidState<T, ModelStates, C, V>.() -> Unit)