Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Sequence

序列执行节点

如果一个子节点执行失败,就返回,其余子节点就不再执行

Hierarchy

Implements

Index

Constructors

constructor

Properties

Protected _currentState

_currentState: BVNodeState = "INIT"

Protected _parent

_parent: BaseNode

Protected _tree

children

children: IBVNode[] = []

executeResult

executeResult: BVNodeResult

Accessors

child

parent

Methods

[INTERNAL_TICK]

Protected _enter

  • _enter(blackBoard: any): void

Protected _execute

Protected _exit

  • _exit(blackBoard: any): void

addChild

execute

onEnter

  • onEnter<T>(blackBoard: T): void

onExit

  • onExit<T>(blackBoard: T): void

removeChild

rest

  • rest(): void

Generated using TypeDoc