All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.s2.dsl.automate.builder.S2TransitionBuilder.kt Maven / Gradle / Ivy

package s2.dsl.automate.builder

import s2.dsl.automate.S2Command
import s2.dsl.automate.S2InitCommand
import s2.dsl.automate.S2Role
import s2.dsl.automate.S2State
import kotlin.reflect.KClass

class S2TransitionBuilder {
	var from: S2State? = null
	lateinit var to: S2State
	lateinit var role: S2Role
	@Deprecated("Useless, you can remove this line.")
	var cmd: KClass>? = null
}

class S2NodeTransitionBuilder {
	var to: S2State? = null
	lateinit var role: S2Role
}

class S2SelfTransitionBuilder {
	val states = mutableListOf()
	lateinit var role: S2Role
}

class S2InitTransitionBuilder {
	lateinit var to: S2State
	lateinit var role: S2Role
	@Deprecated("Useless, you can remove this line.")
	var cmd: KClass? = null
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy