SequenceNode

class SequenceNode(_name: String = "") : Composite

Composite Node A sequence node will run its children until 1 fails. If a child fails, the sequence will report failure. If all the nodes run and succeed, the sequence will report success.

Constructors

Link copied to clipboard
constructor(_name: String = "")

Properties

Link copied to clipboard
Link copied to clipboard
open override var name: String

Functions

Link copied to clipboard
Link copied to clipboard
fun IParentNode.condition(name: String = "", func: () -> Boolean?)
Link copied to clipboard
fun IParentNode.conditional(observerAbort: ObserverAbort? = null, condition: () -> Boolean, init: ConditionalNode.() -> Unit): ConditionalNode
Link copied to clipboard
open override fun getTreeString(prefix: String): String
Link copied to clipboard
open override fun <T : IBehaviorNode> initNode(name: String, node: T, init: T.() -> Unit): T
Link copied to clipboard
Link copied to clipboard
fun IParentNode.perform(name: String = "", func: () -> Unit)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun tick(): BehaviorTreeStatus