FSMBuilder

class FSMBuilder(statesManager: StatesManager)

Functions

add
Link copied to clipboard
fun <I : State> add(kClass: KClass<I>, handler: StatesHandler<I>)
addStrict
Link copied to clipboard
fun <I : State> addStrict(kClass: KClass<I>, handler: StatesHandler<I>)
build
Link copied to clipboard
fun build(): DefaultStatesMachine

Properties

statesManager
Link copied to clipboard
var statesManager: StatesManager

Extensions

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>)