Package dev.inmo.micro_utils.fsm.common.dsl

Types

FSMBuilder
Link copied to clipboard
class FSMBuilder(statesManager: StatesManager)
class FSMBuilder(statesManager: StatesManager)
class FSMBuilder(statesManager: StatesManager)

Functions

buildFSM
Link copied to clipboard
fun buildFSM(block: FSMBuilder.() -> Unit): StatesMachine
fun buildFSM(block: FSMBuilder.() -> Unit): StatesMachine
fun buildFSM(block: FSMBuilder.() -> Unit): StatesMachine
onStateOrSubstate
Link copied to clipboard
inline fun <I : State> FSMBuilder.onStateOrSubstate(handler: StatesHandler<I>)
inline fun <I : State> FSMBuilder.onStateOrSubstate(handler: StatesHandler<I>)
inline fun <I : State> FSMBuilder.onStateOrSubstate(handler: StatesHandler<I>)
strictlyOn
Link copied to clipboard
inline fun <I : State> FSMBuilder.strictlyOn(handler: StatesHandler<I>)
inline fun <I : State> FSMBuilder.strictlyOn(handler: StatesHandler<I>)
inline fun <I : State> FSMBuilder.strictlyOn(handler: StatesHandler<I>)