Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
class ConditionalNode(_name: String = "", val observerAbort: ObserverAbort? = null, val condition: () -> Boolean) : Decorator
Link copied to clipboard
class InverterNode(_name: String = "") : Decorator
Link copied to clipboard
data class ObserverAbort(val type: AbortType, val checkFrequency: Long = 1000)
Link copied to clipboard
class RepeaterNode(_name: String = "") : Decorator

Decorator Node A repeater node will run its child in an indefinite loop or until its child returns KILL

Link copied to clipboard
Link copied to clipboard
class SelectorNode(_name: String = "") : Composite

Composite Node A selector node will run its children until 1 succeeds. If a child succeeds, the selector will report success. If all the children run and fail, the selector will report failure.

Link copied to clipboard
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.

Link copied to clipboard
class SucceederNode(_name: String = "") : Decorator

Decorator Node A succeeder node's tick always reports success regardless of the actual result of its child