ecspresso
Preparing search index...
plugins/ai/behavior-tree
ConditionNode
Interface ConditionNode<BB>
Condition leaf — checks a predicate. Returns Success or Failure, never Running.
interface
ConditionNode
<
BB
extends
object
=
Record
<
string
,
unknown
>
>
{
check
:
(
ctx
:
BehaviorTreeContext
<
BB
>
)
=>
boolean
;
name
:
string
;
nodeIndex
:
number
;
type
:
"condition"
;
}
Type Parameters
BB
extends
object
=
Record
<
string
,
unknown
>
Index
Properties
check
name
node
Index
type
Properties
Readonly
check
check
:
(
ctx
:
BehaviorTreeContext
<
BB
>
)
=>
boolean
Readonly
name
name
:
string
node
Index
nodeIndex
:
number
Readonly
type
type
:
"condition"
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
check
name
node
Index
type
ecspresso
Loading...
Condition leaf — checks a predicate. Returns Success or Failure, never Running.