Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ConditionNode

条件节点

对子节点的执行附加前置执行条件

Hierarchy

Implements

Index

Constructors

constructor

Properties

Protected _currentState

_currentState: BVNodeState = "INIT"

Protected _parent

_parent: BaseNode

Protected _tree

executeResult

executeResult: BVNodeResult

Accessors

child

parent

Methods

[INTERNAL_TICK]

Protected _enter

  • _enter(blackBoard: any): void

Protected _execute

Protected _exit

  • _exit(blackBoard: any): void

Abstract check

  • check<T>(blackBoard: T): "SUCCESS" | "FAILED"
  • Type parameters

    • T = any

    Parameters

    • blackBoard: T

    Returns "SUCCESS" | "FAILED"

execute

onEnter

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

onExit

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

rest

  • rest(): void

Generated using TypeDoc