FSMBuilder
class FSMBuilder<T : State>( var statesManager: StatesManager<T> = DefaultStatesManager(InMemoryDefaultStatesManagerRepo()), val fsmBuilder: (statesManager: StatesManager<T>, states: List<CheckableHandlerHolder<T, T>>) -> StatesMachine<T> = { statesManager, states ->
StatesMachine(
statesManager,
states
)
}, var defaultStateHandler: StatesHandler<T, T>? = StatesHandler { null })
Content copied to clipboard
Constructors
Link copied to clipboard
fun <T : State> FSMBuilder( statesManager: StatesManager<T> = DefaultStatesManager(InMemoryDefaultStatesManagerRepo()), fsmBuilder: (statesManager: StatesManager<T>, states: List<CheckableHandlerHolder<T, T>>) -> StatesMachine<T> = { statesManager, states ->
StatesMachine(
statesManager,
states
)
}, defaultStateHandler: StatesHandler<T, T>? = StatesHandler { null })
Content copied to clipboard
Functions
Properties
Link copied to clipboard
val fsmBuilder: (statesManager: StatesManager<T>, states: List<CheckableHandlerHolder<T, T>>) -> StatesMachine<T>
Content copied to clipboard