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

Types

FSMBuilder
Link copied to clipboard
class FSMBuilder<T : State>(statesManager: StatesManager<T>, fsmBuilder: (statesManager: StatesManager<T>, states: List<CheckableHandlerHolder<T, T>>) -> StatesMachine<T>, defaultStateHandler: StatesHandler<T, T>?)
class FSMBuilder<T : State>(statesManager: StatesManager<T>, fsmBuilder: (statesManager: StatesManager<T>, states: List<CheckableHandlerHolder<T, T>>) -> StatesMachine<T>, defaultStateHandler: StatesHandler<T, T>?)
class FSMBuilder<T : State>(statesManager: StatesManager<T>, fsmBuilder: (statesManager: StatesManager<T>, states: List<CheckableHandlerHolder<T, T>>) -> StatesMachine<T>, defaultStateHandler: StatesHandler<T, T>?)

Functions

buildFSM
Link copied to clipboard
fun <T : State> buildFSM(block: FSMBuilder<T>.() -> Unit): StatesMachine<T>
fun <T : State> buildFSM(block: FSMBuilder<T>.() -> Unit): StatesMachine<T>
fun <T : State> buildFSM(block: FSMBuilder<T>.() -> Unit): StatesMachine<T>