commonMain.s2.dsl.automate.builder.S2TransitionBuilder.kt Maven / Gradle / Ivy
package s2.dsl.automate.builder
import kotlin.reflect.KClass
import s2.dsl.automate.Evt
import s2.dsl.automate.S2Role
import s2.dsl.automate.S2State
class S2TransitionBuilder {
var from: S2State? = null
var froms = mutableListOf()
lateinit var to: S2State
lateinit var role: S2Role
var evt: KClass? = null
}
class S2NodeTransitionBuilder {
var to: S2State? = null
lateinit var role: S2Role
var evt: KClass? = null
}
class S2SelfTransitionBuilder {
val states = mutableListOf()
lateinit var role: S2Role
var evt: KClass? = null
}
class S2InitTransitionBuilder {
lateinit var to: S2State
lateinit var role: S2Role
var evt: KClass? = null
}