NPBehave.Blackboard
AddObserver
(method) NPBehave.Blackboard:AddObserver(key: string, observer: fun(type: NPBehaveBlackboardType, value: any))添加观察者
Disable
(method) NPBehave.Blackboard:Disable()禁用黑板
Enable
(method) NPBehave.Blackboard:Enable()启用黑板
Get
(method) NPBehave.Blackboard:Get(key: string)
-> any获取键值
GetObserverList
(method) NPBehave.Blackboard:GetObserverList(target: { [string]: fun(type: NPBehaveBlackboardType, value: any)[] }, key: string)
-> fun(type: NPBehaveBlackboardType, value: any)[]获取观察者列表
IsSet
(method) NPBehave.Blackboard:IsSet(key: string)
-> boolean检查键是否已设置
NotifyObservers
(method) NPBehave.Blackboard:NotifyObservers()通知观察者
RemoveObserver
(method) NPBehave.Blackboard:RemoveObserver(key: string, observer: fun(type: NPBehaveBlackboardType, value: any))移除观察者
Set
(method) NPBehave.Blackboard:Set(key: string, value: any)设置键值
Unset
(method) NPBehave.Blackboard:Unset(key: string)取消设置键值
bind
(method) NPBehave.Tool.MethodDecorator:bind(func: fun(...any))
-> NPBehave.Tool.BindCallback函数绑定到对象
funcBindCache
tableNPBehave.Blackboard.Notification
key
stringtype
NPBehaveBlackboardTypevalue
anyNPBehave.Clock
AddTimer
(method) NPBehave.Clock:AddTimer(delay: number, repeat_count: number, action: NPBehave.Tool.BindCallback, randomVariance?: number)注册一个具有随机方差的计时器函数
@param delay — 延迟时间(以毫秒为单位)
@param repeat_count — 重复次数, 设为 -1 则重复直至取消注册.
@param action — 回调函数
@param randomVariance — 随机方差
AddUpdateObserver
(method) NPBehave.Clock:AddUpdateObserver(action: NPBehave.Tool.BindCallback)注册一个每帧都会调用的函数
@param action — 要调用的函数
ElapsedTime
number经过时间
GetTimerFromPool
(method) NPBehave.Clock:GetTimerFromPool()
-> timer: NPBehave.Clock.Timer从池中获取计时器
@return timer — 计时器
HasTimer
(method) NPBehave.Clock:HasTimer(action: NPBehave.Tool.BindCallback)
-> boolean检查是否存在计时器
@param action — 回调函数
HasUpdateObserver
(method) NPBehave.Clock:HasUpdateObserver(action: NPBehave.Tool.BindCallback)
-> boolean检查是否存在每帧调用的函数
@param action — 要检查的函数
@return — 是否存在每帧调用的函数
RemoveTimer
(method) NPBehave.Clock:RemoveTimer(action: NPBehave.Tool.BindCallback)移除计时器
@param action — 回调函数
RemoveUpdateObserver
(method) NPBehave.Clock:RemoveUpdateObserver(action: NPBehave.Tool.BindCallback)移除每帧调用的函数
@param action — 要移除的函数
Update
(method) NPBehave.Clock:Update(deltaTime: number)更新函数
@param deltaTime — 时间增量
NPBehave.Clock.AddTimerStruct
Timer
NPBehave.Clock.TimerTimerId
numberNPBehave.Clock.Timer
Action
(NPBehave.Tool.BindCallback)?Delay
numberRandomVariance
numberRepeat
integer重复次数, 设为 -1 则重复直至取消注册.
ScheduleAbsoluteTime
(method) NPBehave.Clock.Timer:ScheduleAbsoluteTime(elapsedTime: number)ScheduledTime
numberUsed
booleanrepeat_count
integerNPBehave.Composite.Composite
Blackboard
NPBehave.Blackboard__getter
CancelWithoutReturnResult
(method) NPBehave.Node:CancelWithoutReturnResult()ChildStopped
(method) NPBehave.Container:ChildStopped(child: NPBehave.Node, succeeded: boolean)Children
NPBehave.Node[]?Clock
NPBehave.Clock__getter
Collapse
boolean崩溃
CurrentState
NPBehave.Enum.NodeState__getter
DoCancel
(method) NPBehave.Node:DoCancel()virtual
DoChildStopped
(method) NPBehave.Container:DoChildStopped(child: NPBehave.Node, succeeded: boolean)abstract
DoParentCompositeStopped
(method) NPBehave.Node:DoParentCompositeStopped(composite: NPBehave.Composite.Composite)virtual
处于非活动状态时调用, 目的是让装饰者删除任何正在等待的观察者.
DoStart
(method) NPBehave.Node:DoStart()virtual
GetPath
(method) NPBehave.Node:GetPath()
-> string|unknownIsActive
boolean__getter
IsStopRequested
boolean__getter
Label
string显示标签
Name
stringParentCompositeStopped
(method) NPBehave.Node:ParentCompositeStopped(composite: NPBehave.Composite.Composite)virtual
ParentNode
(NPBehave.Container)?RootNode
NPBehave.RootSetParent
(method) NPBehave.Node:SetParent(parentNode: NPBehave.Container)SetRoot
(method) NPBehave.Composite.Composite:SetRoot(rootNode: NPBehave.Root)override
Start
(method) NPBehave.Node:Start()StopLowerPriorityChildrenForChild
fun(self: NPBehave.Composite.Composite, child: NPBehave.Node, immediateRestart: boolean)abstract
Stopped
(method) NPBehave.Composite.Composite:Stopped(success: boolean)override
bind
(method) NPBehave.Tool.MethodDecorator:bind(func: fun(...any))
-> NPBehave.Tool.BindCallback函数绑定到对象
currentState
NPBehave.Enum.NodeStatefuncBindCache
tablename
stringNPBehave.Composite.Parallel
Blackboard
NPBehave.Blackboard__getter
CancelWithoutReturnResult
(method) NPBehave.Node:CancelWithoutReturnResult()ChildStopped
(method) NPBehave.Container:ChildStopped(child: NPBehave.Node, succeeded: boolean)Children
NPBehave.Node[]?Clock
NPBehave.Clock__getter
Collapse
boolean崩溃
CurrentState
NPBehave.Enum.NodeState__getter
DoCancel
(method) NPBehave.Composite.Parallel:DoCancel()override
DoChildStopped
(method) NPBehave.Composite.Parallel:DoChildStopped(child: NPBehave.Node, result: boolean)override
DoParentCompositeStopped
(method) NPBehave.Node:DoParentCompositeStopped(composite: NPBehave.Composite.Composite)virtual
处于非活动状态时调用, 目的是让装饰者删除任何正在等待的观察者.
DoStart
(method) NPBehave.Composite.Parallel:DoStart()override
GetPath
(method) NPBehave.Node:GetPath()
-> string|unknownIsActive
boolean__getter
IsStopRequested
boolean__getter
Label
string显示标签
Name
stringParentCompositeStopped
(method) NPBehave.Node:ParentCompositeStopped(composite: NPBehave.Composite.Composite)virtual
ParentNode
(NPBehave.Container)?RootNode
NPBehave.RootSetParent
(method) NPBehave.Node:SetParent(parentNode: NPBehave.Container)SetRoot
(method) NPBehave.Composite.Composite:SetRoot(rootNode: NPBehave.Root)override
Start
(method) NPBehave.Node:Start()StopLowerPriorityChildrenForChild
(method) NPBehave.Composite.Parallel:StopLowerPriorityChildrenForChild(abortForChild: NPBehave.Node, immediateRestart: boolean)Stopped
(method) NPBehave.Composite.Composite:Stopped(success: boolean)override
bind
(method) NPBehave.Tool.MethodDecorator:bind(func: fun(...any))
-> NPBehave.Tool.BindCallback函数绑定到对象
currentState
NPBehave.Enum.NodeStatefuncBindCache
tablename
stringNPBehave.Composite.RandomSelector
Blackboard
NPBehave.Blackboard__getter
CancelWithoutReturnResult
(method) NPBehave.Node:CancelWithoutReturnResult()ChildStopped
(method) NPBehave.Container:ChildStopped(child: NPBehave.Node, succeeded: boolean)Children
NPBehave.Node[]?Clock
NPBehave.Clock__getter
Collapse
boolean崩溃
CurrentState
NPBehave.Enum.NodeState__getter
DoCancel
(method) NPBehave.Composite.RandomSelector:DoCancel()override
DoChildStopped
(method) NPBehave.Composite.RandomSelector:DoChildStopped(child: NPBehave.Node, result: boolean)override
DoParentCompositeStopped
(method) NPBehave.Node:DoParentCompositeStopped(composite: NPBehave.Composite.Composite)virtual
处于非活动状态时调用, 目的是让装饰者删除任何正在等待的观察者.
DoStart
(method) NPBehave.Composite.RandomSelector:DoStart()override
GetPath
(method) NPBehave.Node:GetPath()
-> string|unknownIsActive
boolean__getter
IsStopRequested
boolean__getter
Label
string显示标签
Name
stringParentCompositeStopped
(method) NPBehave.Node:ParentCompositeStopped(composite: NPBehave.Composite.Composite)virtual
ParentNode
(NPBehave.Container)?ProcessChildren
(method) NPBehave.Composite.RandomSelector:ProcessChildren()RootNode
NPBehave.RootSetParent
(method) NPBehave.Node:SetParent(parentNode: NPBehave.Container)SetRoot
(method) NPBehave.Composite.Composite:SetRoot(rootNode: NPBehave.Root)override
Start
(method) NPBehave.Node:Start()StopLowerPriorityChildrenForChild
(method) NPBehave.Composite.RandomSelector:StopLowerPriorityChildrenForChild(abortForChild: NPBehave.Node, immediateRestart: boolean)Stopped
(method) NPBehave.Composite.Composite:Stopped(success: boolean)override
bind
(method) NPBehave.Tool.MethodDecorator:bind(func: fun(...any))
-> NPBehave.Tool.BindCallback函数绑定到对象
currentState
NPBehave.Enum.NodeStatefuncBindCache
tablename
stringNPBehave.Composite.RandomSequence
Blackboard
NPBehave.Blackboard__getter
CancelWithoutReturnResult
(method) NPBehave.Node:CancelWithoutReturnResult()ChildStopped
(method) NPBehave.Container:ChildStopped(child: NPBehave.Node, succeeded: boolean)Children
NPBehave.Node[]?Clock
NPBehave.Clock__getter
Collapse
boolean崩溃
CurrentState
NPBehave.Enum.NodeState__getter
DoCancel
(method) NPBehave.Composite.RandomSequence:DoCancel()override
DoChildStopped
(method) NPBehave.Composite.RandomSequence:DoChildStopped(child: NPBehave.Node, result: boolean)override
DoParentCompositeStopped
(method) NPBehave.Node:DoParentCompositeStopped(composite: NPBehave.Composite.Composite)virtual
处于非活动状态时调用, 目的是让装饰者删除任何正在等待的观察者.
DoStart
(method) NPBehave.Composite.RandomSequence:DoStart()override
GetPath
(method) NPBehave.Node:GetPath()
-> string|unknownIsActive
boolean__getter
IsStopRequested
boolean__getter
Label
string显示标签
Name
stringParentCompositeStopped
(method) NPBehave.Node:ParentCompositeStopped(composite: NPBehave.Composite.Composite)virtual
ParentNode
(NPBehave.Container)?ProcessChildren
(method) NPBehave.Composite.RandomSequence:ProcessChildren()RootNode
NPBehave.RootSetParent
(method) NPBehave.Node:SetParent(parentNode: NPBehave.Container)SetRoot
(method) NPBehave.Composite.Composite:SetRoot(rootNode: NPBehave.Root)override
Start
(method) NPBehave.Node:Start()StopLowerPriorityChildrenForChild
(method) NPBehave.Composite.RandomSequence:StopLowerPriorityChildrenForChild(abortForChild: NPBehave.Node, immediateRestart: boolean)Stopped
(method) NPBehave.Composite.Composite:Stopped(success: boolean)override
bind
(method) NPBehave.Tool.MethodDecorator:bind(func: fun(...any))
-> NPBehave.Tool.BindCallback函数绑定到对象
currentState
NPBehave.Enum.NodeStatefuncBindCache
tablename
stringNPBehave.Composite.Selector
Blackboard
NPBehave.Blackboard__getter
CancelWithoutReturnResult
(method) NPBehave.Node:CancelWithoutReturnResult()ChildStopped
(method) NPBehave.Container:ChildStopped(child: NPBehave.Node, succeeded: boolean)Children
NPBehave.Node[]?Clock
NPBehave.Clock__getter
Collapse
boolean崩溃
CurrentState
NPBehave.Enum.NodeState__getter
DoCancel
(method) NPBehave.Composite.Selector:DoCancel()override
DoChildStopped
(method) NPBehave.Composite.Selector:DoChildStopped(child: NPBehave.Node, result: boolean)override
DoParentCompositeStopped
(method) NPBehave.Node:DoParentCompositeStopped(composite: NPBehave.Composite.Composite)virtual
处于非活动状态时调用, 目的是让装饰者删除任何正在等待的观察者.
DoStart
(method) NPBehave.Composite.Selector:DoStart()override
GetPath
(method) NPBehave.Node:GetPath()
-> string|unknownIsActive
boolean__getter
IsStopRequested
boolean__getter
Label
string显示标签
Name
stringParentCompositeStopped
(method) NPBehave.Node:ParentCompositeStopped(composite: NPBehave.Composite.Composite)virtual
ParentNode
(NPBehave.Container)?ProcessChildren
(method) NPBehave.Composite.Selector:ProcessChildren()RootNode
NPBehave.RootSetParent
(method) NPBehave.Node:SetParent(parentNode: NPBehave.Container)SetRoot
(method) NPBehave.Composite.Composite:SetRoot(rootNode: NPBehave.Root)override
Start
(method) NPBehave.Node:Start()StopLowerPriorityChildrenForChild
(method) NPBehave.Composite.Selector:StopLowerPriorityChildrenForChild(abortForChild: NPBehave.Node, immediateRestart: boolean)Stopped
(method) NPBehave.Composite.Composite:Stopped(success: boolean)override
bind
(method) NPBehave.Tool.MethodDecorator:bind(func: fun(...any))
-> NPBehave.Tool.BindCallback函数绑定到对象
currentState
NPBehave.Enum.NodeStatefuncBindCache
tablename
stringNPBehave.Composite.Sequence
Blackboard
NPBehave.Blackboard__getter
CancelWithoutReturnResult
(method) NPBehave.Node:CancelWithoutReturnResult()ChildStopped
(method) NPBehave.Container:ChildStopped(child: NPBehave.Node, succeeded: boolean)Children
NPBehave.Node[]?Clock
NPBehave.Clock__getter
Collapse
boolean崩溃
CurrentState
NPBehave.Enum.NodeState__getter
DoCancel
(method) NPBehave.Composite.Sequence:DoCancel()override
DoChildStopped
(method) NPBehave.Composite.Sequence:DoChildStopped(child: NPBehave.Node, result: boolean)override
DoParentCompositeStopped
(method) NPBehave.Node:DoParentCompositeStopped(composite: NPBehave.Composite.Composite)virtual
处于非活动状态时调用, 目的是让装饰者删除任何正在等待的观察者.
DoStart
(method) NPBehave.Composite.Sequence:DoStart()override
GetPath
(method) NPBehave.Node:GetPath()
-> string|unknownIsActive
boolean__getter
IsStopRequested
boolean__getter
Label
string显示标签
Name
stringParentCompositeStopped
(method) NPBehave.Node:ParentCompositeStopped(composite: NPBehave.Composite.Composite)virtual
ParentNode
(NPBehave.Container)?ProcessChildren
(method) NPBehave.Composite.Sequence:ProcessChildren()RootNode
NPBehave.RootSetParent
(method) NPBehave.Node:SetParent(parentNode: NPBehave.Container)SetRoot
(method) NPBehave.Composite.Composite:SetRoot(rootNode: NPBehave.Root)override
Start
(method) NPBehave.Node:Start()StopLowerPriorityChildrenForChild
(method) NPBehave.Composite.Sequence:StopLowerPriorityChildrenForChild(abortForChild: NPBehave.Node, immediateRestart: boolean)Stopped
(method) NPBehave.Composite.Composite:Stopped(success: boolean)override
bind
(method) NPBehave.Tool.MethodDecorator:bind(func: fun(...any))
-> NPBehave.Tool.BindCallback函数绑定到对象
currentState
NPBehave.Enum.NodeStatefuncBindCache
tablename
stringNPBehave.Container
Blackboard
NPBehave.Blackboard__getter
CancelWithoutReturnResult
(method) NPBehave.Node:CancelWithoutReturnResult()ChildStopped
(method) NPBehave.Container:ChildStopped(child: NPBehave.Node, succeeded: boolean)Clock
NPBehave.Clock__getter
Collapse
boolean崩溃
CurrentState
NPBehave.Enum.NodeState__getter
DoCancel
(method) NPBehave.Node:DoCancel()virtual
DoChildStopped
(method) NPBehave.Container:DoChildStopped(child: NPBehave.Node, succeeded: boolean)abstract
DoParentCompositeStopped
(method) NPBehave.Node:DoParentCompositeStopped(composite: NPBehave.Composite.Composite)virtual
处于非活动状态时调用, 目的是让装饰者删除任何正在等待的观察者.
DoStart
(method) NPBehave.Node:DoStart()virtual
GetPath
(method) NPBehave.Node:GetPath()
-> string|unknownIsActive
boolean__getter
IsStopRequested
boolean__getter
Label
string显示标签
Name
stringParentCompositeStopped
(method) NPBehave.Node:ParentCompositeStopped(composite: NPBehave.Composite.Composite)virtual
ParentNode
(NPBehave.Container)?RootNode
NPBehave.RootSetParent
(method) NPBehave.Node:SetParent(parentNode: NPBehave.Container)SetRoot
(method) NPBehave.Node:SetRoot(rootNode: NPBehave.Root)virtual
Start
(method) NPBehave.Node:Start()Stopped
(method) NPBehave.Node:Stopped(success: any)virtual
这绝对必须是函数中的最后一个调用, 调用停止后切勿修改任何状态!!!
bind
(method) NPBehave.Tool.MethodDecorator:bind(func: fun(...any))
-> NPBehave.Tool.BindCallback函数绑定到对象
currentState
NPBehave.Enum.NodeStatefuncBindCache
tablename
stringNPBehave.Context
abstract
Blackboards
table<string, NPBehave.Blackboard>Clock
unknownGetInstance
function NPBehave.Context.GetInstance()
-> NPBehave.ContextGetSharedBlackboard
function NPBehave.Context.GetSharedBlackboard(key: string)
-> NPBehave.Blackboard获取共享黑板
Instance
nilabstract
Platform
nilabstract
NPBehave.Decorator.BlackboardCondition
Blackboard
NPBehave.Blackboard__getter
CancelWithoutReturnResult
(method) NPBehave.Node:CancelWithoutReturnResult()ChildStopped
(method) NPBehave.Container:ChildStopped(child: NPBehave.Node, succeeded: boolean)Clock
NPBehave.Clock__getter
Collapse
boolean崩溃
CurrentState
NPBehave.Enum.NodeState__getter
Decoratee
NPBehave.NodeDoCancel
(method) NPBehave.Decorator.ObservingDecorator:DoCancel()override
DoChildStopped
(method) NPBehave.Decorator.ObservingDecorator:DoChildStopped(child: NPBehave.Node, result: boolean)override
DoParentCompositeStopped
(method) NPBehave.Decorator.ObservingDecorator:DoParentCompositeStopped(parentComposite: NPBehave.Composite.Composite)override
DoStart
(method) NPBehave.Decorator.ObservingDecorator:DoStart()override
Evaluate
(method) NPBehave.Decorator.ObservingDecorator:Evaluate()protected
GetPath
(method) NPBehave.Node:GetPath()
-> string|unknownIsActive
boolean__getter
IsConditionMet
(method) NPBehave.Decorator.BlackboardCondition:IsConditionMet()
-> booleanoverride
IsStopRequested
boolean__getter
Label
string显示标签
Name
stringOnValueChanged
(method) NPBehave.Decorator.BlackboardCondition:OnValueChanged(type: NPBehaveBlackboardType, newValue: any)ParentCompositeStopped
(method) NPBehave.Decorator.Decorator:ParentCompositeStopped(composite: NPBehave.Composite.Composite)override
ParentNode
(NPBehave.Container)?RootNode
NPBehave.RootSetParent
(method) NPBehave.Node:SetParent(parentNode: NPBehave.Container)SetRoot
(method) NPBehave.Decorator.Decorator:SetRoot(rootNode: NPBehave.Root)override
Start
(method) NPBehave.Node:Start()StartObserving
(method) NPBehave.Decorator.BlackboardCondition:StartObserving()override
StopObserving
(method) NPBehave.Decorator.BlackboardCondition:StopObserving()override
Stopped
(method) NPBehave.Node:Stopped(success: any)virtual
这绝对必须是函数中的最后一个调用, 调用停止后切勿修改任何状态!!!
StopsOnChange
NPBehave.Enum.Stopsbind
(method) NPBehave.Tool.MethodDecorator:bind(func: fun(...any))
-> NPBehave.Tool.BindCallback函数绑定到对象
currentState
NPBehave.Enum.NodeStatefuncBindCache
tablename
stringNPBehave.Decorator.BlackboardQuery
Blackboard
NPBehave.Blackboard__getter
CancelWithoutReturnResult
(method) NPBehave.Node:CancelWithoutReturnResult()ChildStopped
(method) NPBehave.Container:ChildStopped(child: NPBehave.Node, succeeded: boolean)Clock
NPBehave.Clock__getter
Collapse
boolean崩溃
CurrentState
NPBehave.Enum.NodeState__getter
Decoratee
NPBehave.NodeDoCancel
(method) NPBehave.Decorator.ObservingDecorator:DoCancel()override
DoChildStopped
(method) NPBehave.Decorator.ObservingDecorator:DoChildStopped(child: NPBehave.Node, result: boolean)override
DoParentCompositeStopped
(method) NPBehave.Decorator.ObservingDecorator:DoParentCompositeStopped(parentComposite: NPBehave.Composite.Composite)override
DoStart
(method) NPBehave.Decorator.ObservingDecorator:DoStart()override
Evaluate
(method) NPBehave.Decorator.ObservingDecorator:Evaluate()protected
GetPath
(method) NPBehave.Node:GetPath()
-> string|unknownIsActive
boolean__getter
IsConditionMet
(method) NPBehave.Decorator.BlackboardQuery:IsConditionMet()
-> booleanoverride
IsStopRequested
boolean__getter
Label
string显示标签
Name
stringOnValueChanged
(method) NPBehave.Decorator.BlackboardQuery:OnValueChanged(type: NPBehaveBlackboardType, newValue: any)ParentCompositeStopped
(method) NPBehave.Decorator.Decorator:ParentCompositeStopped(composite: NPBehave.Composite.Composite)override
ParentNode
(NPBehave.Container)?RootNode
NPBehave.RootSetParent
(method) NPBehave.Node:SetParent(parentNode: NPBehave.Container)SetRoot
(method) NPBehave.Decorator.Decorator:SetRoot(rootNode: NPBehave.Root)override
Start
(method) NPBehave.Node:Start()StartObserving
(method) NPBehave.Decorator.BlackboardQuery:StartObserving()override
StopObserving
(method) NPBehave.Decorator.BlackboardQuery:StopObserving()override
Stopped
(method) NPBehave.Node:Stopped(success: any)virtual
这绝对必须是函数中的最后一个调用, 调用停止后切勿修改任何状态!!!
StopsOnChange
NPBehave.Enum.Stopsbind
(method) NPBehave.Tool.MethodDecorator:bind(func: fun(...any))
-> NPBehave.Tool.BindCallback函数绑定到对象
currentState
NPBehave.Enum.NodeStatefuncBindCache
tablename
stringNPBehave.Decorator.Condition
Blackboard
NPBehave.Blackboard__getter
CancelWithoutReturnResult
(method) NPBehave.Node:CancelWithoutReturnResult()ChildStopped
(method) NPBehave.Container:ChildStopped(child: NPBehave.Node, succeeded: boolean)Clock
NPBehave.Clock__getter
Collapse
boolean崩溃
CurrentState
NPBehave.Enum.NodeState__getter
Decoratee
NPBehave.NodeDoCancel
(method) NPBehave.Decorator.ObservingDecorator:DoCancel()override
DoChildStopped
(method) NPBehave.Decorator.ObservingDecorator:DoChildStopped(child: NPBehave.Node, result: boolean)override
DoParentCompositeStopped
(method) NPBehave.Decorator.ObservingDecorator:DoParentCompositeStopped(parentComposite: NPBehave.Composite.Composite)override
DoStart
(method) NPBehave.Decorator.ObservingDecorator:DoStart()override
Evaluate
(method) NPBehave.Decorator.ObservingDecorator:Evaluate()protected
GetPath
(method) NPBehave.Node:GetPath()
-> string|unknownIsActive
boolean__getter
IsConditionMet
(method) NPBehave.Decorator.Condition:IsConditionMet()
-> booleanoverride
IsStopRequested
boolean__getter
Label
string显示标签
Name
stringParentCompositeStopped
(method) NPBehave.Decorator.Decorator:ParentCompositeStopped(composite: NPBehave.Composite.Composite)override
ParentNode
(NPBehave.Container)?RootNode
NPBehave.RootSetParent
(method) NPBehave.Node:SetParent(parentNode: NPBehave.Container)SetRoot
(method) NPBehave.Decorator.Decorator:SetRoot(rootNode: NPBehave.Root)override
Start
(method) NPBehave.Node:Start()StartObserving
(method) NPBehave.Decorator.Condition:StartObserving()override
StopObserving
(method) NPBehave.Decorator.Condition:StopObserving()override
Stopped
(method) NPBehave.Node:Stopped(success: any)virtual
这绝对必须是函数中的最后一个调用, 调用停止后切勿修改任何状态!!!
StopsOnChange
NPBehave.Enum.Stopsbind
(method) NPBehave.Tool.MethodDecorator:bind(func: fun(...any))
-> NPBehave.Tool.BindCallback函数绑定到对象
currentState
NPBehave.Enum.NodeStatefuncBindCache
tablename
stringNPBehave.Decorator.Cooldown
Blackboard
NPBehave.Blackboard__getter
CancelWithoutReturnResult
(method) NPBehave.Node:CancelWithoutReturnResult()ChildStopped
(method) NPBehave.Container:ChildStopped(child: NPBehave.Node, succeeded: boolean)Clock
NPBehave.Clock__getter
Collapse
boolean崩溃
CurrentState
NPBehave.Enum.NodeState__getter
Decoratee
NPBehave.NodeDoCancel
(method) NPBehave.Decorator.Cooldown:DoCancel()override
DoChildStopped
(method) NPBehave.Decorator.Cooldown:DoChildStopped(child: any, result: any)override
DoParentCompositeStopped
(method) NPBehave.Node:DoParentCompositeStopped(composite: NPBehave.Composite.Composite)virtual
处于非活动状态时调用, 目的是让装饰者删除任何正在等待的观察者.
DoStart
(method) NPBehave.Decorator.Cooldown:DoStart()override
GetPath
(method) NPBehave.Node:GetPath()
-> string|unknownIsActive
boolean__getter
IsStopRequested
boolean__getter
Label
string显示标签
Name
stringParentCompositeStopped
(method) NPBehave.Decorator.Decorator:ParentCompositeStopped(composite: NPBehave.Composite.Composite)override
ParentNode
(NPBehave.Container)?RootNode
NPBehave.RootSetParent
(method) NPBehave.Node:SetParent(parentNode: NPBehave.Container)SetRoot
(method) NPBehave.Decorator.Decorator:SetRoot(rootNode: NPBehave.Root)override
Start
(method) NPBehave.Node:Start()Stopped
(method) NPBehave.Node:Stopped(success: any)virtual
这绝对必须是函数中的最后一个调用, 调用停止后切勿修改任何状态!!!
TimeoutReached
(method) NPBehave.Decorator.Cooldown:TimeoutReached()bind
(method) NPBehave.Tool.MethodDecorator:bind(func: fun(...any))
-> NPBehave.Tool.BindCallback函数绑定到对象
currentState
NPBehave.Enum.NodeStatefuncBindCache
tablename
stringNPBehave.Decorator.Decorator
Blackboard
NPBehave.Blackboard__getter
CancelWithoutReturnResult
(method) NPBehave.Node:CancelWithoutReturnResult()ChildStopped
(method) NPBehave.Container:ChildStopped(child: NPBehave.Node, succeeded: boolean)Clock
NPBehave.Clock__getter
Collapse
boolean崩溃
CurrentState
NPBehave.Enum.NodeState__getter
Decoratee
NPBehave.NodeDoCancel
(method) NPBehave.Node:DoCancel()virtual
DoChildStopped
(method) NPBehave.Container:DoChildStopped(child: NPBehave.Node, succeeded: boolean)abstract
DoParentCompositeStopped
(method) NPBehave.Node:DoParentCompositeStopped(composite: NPBehave.Composite.Composite)virtual
处于非活动状态时调用, 目的是让装饰者删除任何正在等待的观察者.
DoStart
(method) NPBehave.Node:DoStart()virtual
GetPath
(method) NPBehave.Node:GetPath()
-> string|unknownIsActive
boolean__getter
IsStopRequested
boolean__getter
Label
string显示标签
Name
stringParentCompositeStopped
(method) NPBehave.Decorator.Decorator:ParentCompositeStopped(composite: NPBehave.Composite.Composite)override
ParentNode
(NPBehave.Container)?RootNode
NPBehave.RootSetParent
(method) NPBehave.Node:SetParent(parentNode: NPBehave.Container)SetRoot
(method) NPBehave.Decorator.Decorator:SetRoot(rootNode: NPBehave.Root)override
Start
(method) NPBehave.Node:Start()Stopped
(method) NPBehave.Node:Stopped(success: any)virtual
这绝对必须是函数中的最后一个调用, 调用停止后切勿修改任何状态!!!
bind
(method) NPBehave.Tool.MethodDecorator:bind(func: fun(...any))
-> NPBehave.Tool.BindCallback函数绑定到对象
currentState
NPBehave.Enum.NodeStatefuncBindCache
tablename
stringNPBehave.Decorator.Failer
Blackboard
NPBehave.Blackboard__getter
CancelWithoutReturnResult
(method) NPBehave.Node:CancelWithoutReturnResult()ChildStopped
(method) NPBehave.Container:ChildStopped(child: NPBehave.Node, succeeded: boolean)Clock
NPBehave.Clock__getter
Collapse
boolean崩溃
CurrentState
NPBehave.Enum.NodeState__getter
Decoratee
NPBehave.NodeDoCancel
(method) NPBehave.Decorator.Failer:DoCancel()override
DoChildStopped
(method) NPBehave.Decorator.Failer:DoChildStopped(child: any, result: any)override
DoParentCompositeStopped
(method) NPBehave.Node:DoParentCompositeStopped(composite: NPBehave.Composite.Composite)virtual
处于非活动状态时调用, 目的是让装饰者删除任何正在等待的观察者.
DoStart
(method) NPBehave.Decorator.Failer:DoStart()override
GetPath
(method) NPBehave.Node:GetPath()
-> string|unknownIsActive
boolean__getter
IsStopRequested
boolean__getter
Label
string显示标签
Name
stringParentCompositeStopped
(method) NPBehave.Decorator.Decorator:ParentCompositeStopped(composite: NPBehave.Composite.Composite)override
ParentNode
(NPBehave.Container)?RootNode
NPBehave.RootSetParent
(method) NPBehave.Node:SetParent(parentNode: NPBehave.Container)SetRoot
(method) NPBehave.Decorator.Decorator:SetRoot(rootNode: NPBehave.Root)override
Start
(method) NPBehave.Node:Start()Stopped
(method) NPBehave.Node:Stopped(success: any)virtual
这绝对必须是函数中的最后一个调用, 调用停止后切勿修改任何状态!!!
bind
(method) NPBehave.Tool.MethodDecorator:bind(func: fun(...any))
-> NPBehave.Tool.BindCallback函数绑定到对象
currentState
NPBehave.Enum.NodeStatefuncBindCache
tablename
stringNPBehave.Decorator.Hook
Blackboard
NPBehave.Blackboard__getter
CancelWithoutReturnResult
(method) NPBehave.Node:CancelWithoutReturnResult()ChildStopped
(method) NPBehave.Container:ChildStopped(child: NPBehave.Node, succeeded: boolean)Clock
NPBehave.Clock__getter
Collapse
boolean崩溃
CurrentState
NPBehave.Enum.NodeState__getter
Decoratee
NPBehave.NodeDoCancel
(method) NPBehave.Decorator.Hook:DoCancel()override
DoChildStopped
(method) NPBehave.Decorator.Hook:DoChildStopped(child: any, result: any)override
DoParentCompositeStopped
(method) NPBehave.Node:DoParentCompositeStopped(composite: NPBehave.Composite.Composite)virtual
处于非活动状态时调用, 目的是让装饰者删除任何正在等待的观察者.
DoStart
(method) NPBehave.Decorator.Hook:DoStart()override
GetPath
(method) NPBehave.Node:GetPath()
-> string|unknownIsActive
boolean__getter
IsStopRequested
boolean__getter
Label
string显示标签
Name
stringParentCompositeStopped
(method) NPBehave.Decorator.Decorator:ParentCompositeStopped(composite: NPBehave.Composite.Composite)override
ParentNode
(NPBehave.Container)?RootNode
NPBehave.RootSetParent
(method) NPBehave.Node:SetParent(parentNode: NPBehave.Container)SetRoot
(method) NPBehave.Decorator.Decorator:SetRoot(rootNode: NPBehave.Root)override
Start
(method) NPBehave.Node:Start()Stopped
(method) NPBehave.Node:Stopped(success: any)virtual
这绝对必须是函数中的最后一个调用, 调用停止后切勿修改任何状态!!!
bind
(method) NPBehave.Tool.MethodDecorator:bind(func: fun(...any))
-> NPBehave.Tool.BindCallback函数绑定到对象
currentState
NPBehave.Enum.NodeStatefuncBindCache
tablename
stringNPBehave.Decorator.Inverter
Blackboard
NPBehave.Blackboard__getter
CancelWithoutReturnResult
(method) NPBehave.Node:CancelWithoutReturnResult()ChildStopped
(method) NPBehave.Container:ChildStopped(child: NPBehave.Node, succeeded: boolean)Clock
NPBehave.Clock__getter
Collapse
boolean崩溃
CurrentState
NPBehave.Enum.NodeState__getter
Decoratee
NPBehave.NodeDoCancel
(method) NPBehave.Decorator.Inverter:DoCancel()override
DoChildStopped
(method) NPBehave.Decorator.Inverter:DoChildStopped(child: any, result: any)override
DoParentCompositeStopped
(method) NPBehave.Node:DoParentCompositeStopped(composite: NPBehave.Composite.Composite)virtual
处于非活动状态时调用, 目的是让装饰者删除任何正在等待的观察者.
DoStart
(method) NPBehave.Decorator.Inverter:DoStart()override
GetPath
(method) NPBehave.Node:GetPath()
-> string|unknownIsActive
boolean__getter
IsStopRequested
boolean__getter
Label
string显示标签
Name
stringParentCompositeStopped
(method) NPBehave.Decorator.Decorator:ParentCompositeStopped(composite: NPBehave.Composite.Composite)override
ParentNode
(NPBehave.Container)?RootNode
NPBehave.RootSetParent
(method) NPBehave.Node:SetParent(parentNode: NPBehave.Container)SetRoot
(method) NPBehave.Decorator.Decorator:SetRoot(rootNode: NPBehave.Root)override
Start
(method) NPBehave.Node:Start()Stopped
(method) NPBehave.Node:Stopped(success: any)virtual
这绝对必须是函数中的最后一个调用, 调用停止后切勿修改任何状态!!!
bind
(method) NPBehave.Tool.MethodDecorator:bind(func: fun(...any))
-> NPBehave.Tool.BindCallback函数绑定到对象
currentState
NPBehave.Enum.NodeStatefuncBindCache
tablename
stringNPBehave.Decorator.Observer
Blackboard
NPBehave.Blackboard__getter
CancelWithoutReturnResult
(method) NPBehave.Node:CancelWithoutReturnResult()ChildStopped
(method) NPBehave.Container:ChildStopped(child: NPBehave.Node, succeeded: boolean)Clock
NPBehave.Clock__getter
Collapse
boolean崩溃
CurrentState
NPBehave.Enum.NodeState__getter
Decoratee
NPBehave.NodeDoCancel
(method) NPBehave.Decorator.Observer:DoCancel()override
DoChildStopped
(method) NPBehave.Decorator.Observer:DoChildStopped(child: any, result: any)override
DoParentCompositeStopped
(method) NPBehave.Node:DoParentCompositeStopped(composite: NPBehave.Composite.Composite)virtual
处于非活动状态时调用, 目的是让装饰者删除任何正在等待的观察者.
DoStart
(method) NPBehave.Decorator.Observer:DoStart()override
GetPath
(method) NPBehave.Node:GetPath()
-> string|unknownIsActive
boolean__getter
IsStopRequested
boolean__getter
Label
string显示标签
Name
stringParentCompositeStopped
(method) NPBehave.Decorator.Decorator:ParentCompositeStopped(composite: NPBehave.Composite.Composite)override
ParentNode
(NPBehave.Container)?RootNode
NPBehave.RootSetParent
(method) NPBehave.Node:SetParent(parentNode: NPBehave.Container)SetRoot
(method) NPBehave.Decorator.Decorator:SetRoot(rootNode: NPBehave.Root)override
Start
(method) NPBehave.Node:Start()Stopped
(method) NPBehave.Node:Stopped(success: any)virtual
这绝对必须是函数中的最后一个调用, 调用停止后切勿修改任何状态!!!
bind
(method) NPBehave.Tool.MethodDecorator:bind(func: fun(...any))
-> NPBehave.Tool.BindCallback函数绑定到对象
currentState
NPBehave.Enum.NodeStatefuncBindCache
tablename
stringNPBehave.Decorator.ObservingDecorator
Blackboard
NPBehave.Blackboard__getter
CancelWithoutReturnResult
(method) NPBehave.Node:CancelWithoutReturnResult()ChildStopped
(method) NPBehave.Container:ChildStopped(child: NPBehave.Node, succeeded: boolean)Clock
NPBehave.Clock__getter
Collapse
boolean崩溃
CurrentState
NPBehave.Enum.NodeState__getter
Decoratee
NPBehave.NodeDoCancel
(method) NPBehave.Decorator.ObservingDecorator:DoCancel()override
DoChildStopped
(method) NPBehave.Decorator.ObservingDecorator:DoChildStopped(child: NPBehave.Node, result: boolean)override
DoParentCompositeStopped
(method) NPBehave.Decorator.ObservingDecorator:DoParentCompositeStopped(parentComposite: NPBehave.Composite.Composite)override
DoStart
(method) NPBehave.Decorator.ObservingDecorator:DoStart()override
Evaluate
(method) NPBehave.Decorator.ObservingDecorator:Evaluate()protected
GetPath
(method) NPBehave.Node:GetPath()
-> string|unknownIsActive
boolean__getter
IsConditionMet
fun()abstract
IsStopRequested
boolean__getter
Label
string显示标签
Name
stringParentCompositeStopped
(method) NPBehave.Decorator.Decorator:ParentCompositeStopped(composite: NPBehave.Composite.Composite)override
ParentNode
(NPBehave.Container)?RootNode
NPBehave.RootSetParent
(method) NPBehave.Node:SetParent(parentNode: NPBehave.Container)SetRoot
(method) NPBehave.Decorator.Decorator:SetRoot(rootNode: NPBehave.Root)override
Start
(method) NPBehave.Node:Start()StartObserving
fun()abstract
StopObserving
fun()abstract
Stopped
(method) NPBehave.Node:Stopped(success: any)virtual
这绝对必须是函数中的最后一个调用, 调用停止后切勿修改任何状态!!!
StopsOnChange
NPBehave.Enum.Stopsbind
(method) NPBehave.Tool.MethodDecorator:bind(func: fun(...any))
-> NPBehave.Tool.BindCallback函数绑定到对象
currentState
NPBehave.Enum.NodeStatefuncBindCache
tablename
stringNPBehave.Decorator.Random
Blackboard
NPBehave.Blackboard__getter
CancelWithoutReturnResult
(method) NPBehave.Node:CancelWithoutReturnResult()ChildStopped
(method) NPBehave.Container:ChildStopped(child: NPBehave.Node, succeeded: boolean)Clock
NPBehave.Clock__getter
Collapse
boolean崩溃
CurrentState
NPBehave.Enum.NodeState__getter
Decoratee
NPBehave.NodeDoCancel
(method) NPBehave.Decorator.Random:DoCancel()override
DoChildStopped
(method) NPBehave.Decorator.Random:DoChildStopped(child: any, result: any)override
DoParentCompositeStopped
(method) NPBehave.Node:DoParentCompositeStopped(composite: NPBehave.Composite.Composite)virtual
处于非活动状态时调用, 目的是让装饰者删除任何正在等待的观察者.
DoStart
(method) NPBehave.Decorator.Random:DoStart()override
GetPath
(method) NPBehave.Node:GetPath()
-> string|unknownIsActive
boolean__getter
IsStopRequested
boolean__getter
Label
string显示标签
Name
stringParentCompositeStopped
(method) NPBehave.Decorator.Decorator:ParentCompositeStopped(composite: NPBehave.Composite.Composite)override
ParentNode
(NPBehave.Container)?RootNode
NPBehave.RootSetParent
(method) NPBehave.Node:SetParent(parentNode: NPBehave.Container)SetRoot
(method) NPBehave.Decorator.Decorator:SetRoot(rootNode: NPBehave.Root)override
Start
(method) NPBehave.Node:Start()Stopped
(method) NPBehave.Node:Stopped(success: any)virtual
这绝对必须是函数中的最后一个调用, 调用停止后切勿修改任何状态!!!
bind
(method) NPBehave.Tool.MethodDecorator:bind(func: fun(...any))
-> NPBehave.Tool.BindCallback函数绑定到对象
currentState
NPBehave.Enum.NodeStatefuncBindCache
tablename
stringNPBehave.Decorator.Repeater
Blackboard
NPBehave.Blackboard__getter
CancelWithoutReturnResult
(method) NPBehave.Node:CancelWithoutReturnResult()ChildStopped
(method) NPBehave.Container:ChildStopped(child: NPBehave.Node, succeeded: boolean)Clock
NPBehave.Clock__getter
Collapse
boolean崩溃
CurrentState
NPBehave.Enum.NodeState__getter
Decoratee
NPBehave.NodeDoCancel
(method) NPBehave.Decorator.Repeater:DoCancel()override
DoChildStopped
(method) NPBehave.Decorator.Repeater:DoChildStopped(child: any, result: any)override
DoParentCompositeStopped
(method) NPBehave.Node:DoParentCompositeStopped(composite: NPBehave.Composite.Composite)virtual
处于非活动状态时调用, 目的是让装饰者删除任何正在等待的观察者.
DoStart
(method) NPBehave.Decorator.Repeater:DoStart()override
GetPath
(method) NPBehave.Node:GetPath()
-> string|unknownIsActive
boolean__getter
IsStopRequested
boolean__getter
Label
string显示标签
Name
stringParentCompositeStopped
(method) NPBehave.Decorator.Decorator:ParentCompositeStopped(composite: NPBehave.Composite.Composite)override
ParentNode
(NPBehave.Container)?RestartDecorator
(method) NPBehave.Decorator.Repeater:RestartDecorator()RootNode
NPBehave.RootSetParent
(method) NPBehave.Node:SetParent(parentNode: NPBehave.Container)SetRoot
(method) NPBehave.Decorator.Decorator:SetRoot(rootNode: NPBehave.Root)override
Start
(method) NPBehave.Node:Start()Stopped
(method) NPBehave.Node:Stopped(success: any)virtual
这绝对必须是函数中的最后一个调用, 调用停止后切勿修改任何状态!!!
bind
(method) NPBehave.Tool.MethodDecorator:bind(func: fun(...any))
-> NPBehave.Tool.BindCallback函数绑定到对象
currentState
NPBehave.Enum.NodeStatefuncBindCache
tablename
stringNPBehave.Decorator.Service
Blackboard
NPBehave.Blackboard__getter
CancelWithoutReturnResult
(method) NPBehave.Node:CancelWithoutReturnResult()ChildStopped
(method) NPBehave.Container:ChildStopped(child: NPBehave.Node, succeeded: boolean)Clock
NPBehave.Clock__getter
Collapse
boolean崩溃
CurrentState
NPBehave.Enum.NodeState__getter
Decoratee
NPBehave.NodeDoCancel
(method) NPBehave.Decorator.Service:DoCancel()override
DoChildStopped
(method) NPBehave.Decorator.Service:DoChildStopped(child: any, result: any)override
DoParentCompositeStopped
(method) NPBehave.Node:DoParentCompositeStopped(composite: NPBehave.Composite.Composite)virtual
处于非活动状态时调用, 目的是让装饰者删除任何正在等待的观察者.
DoStart
(method) NPBehave.Decorator.Service:DoStart()override
GetPath
(method) NPBehave.Node:GetPath()
-> string|unknownInvokeServiceMethodWithRandomVariation
(method) NPBehave.Decorator.Service:InvokeServiceMethodWithRandomVariation()带随机变化的调用服务方法
IsActive
boolean__getter
IsStopRequested
boolean__getter
Label
stringName
stringParentCompositeStopped
(method) NPBehave.Decorator.Decorator:ParentCompositeStopped(composite: NPBehave.Composite.Composite)override
ParentNode
(NPBehave.Container)?RootNode
NPBehave.RootSetParent
(method) NPBehave.Node:SetParent(parentNode: NPBehave.Container)SetRoot
(method) NPBehave.Decorator.Decorator:SetRoot(rootNode: NPBehave.Root)override
Start
(method) NPBehave.Node:Start()Stopped
(method) NPBehave.Node:Stopped(success: any)virtual
这绝对必须是函数中的最后一个调用, 调用停止后切勿修改任何状态!!!
bind
(method) NPBehave.Tool.MethodDecorator:bind(func: fun(...any))
-> NPBehave.Tool.BindCallback函数绑定到对象
currentState
NPBehave.Enum.NodeStatefuncBindCache
tablename
stringNPBehave.Decorator.Succeeder
Blackboard
NPBehave.Blackboard__getter
CancelWithoutReturnResult
(method) NPBehave.Node:CancelWithoutReturnResult()ChildStopped
(method) NPBehave.Container:ChildStopped(child: NPBehave.Node, succeeded: boolean)Clock
NPBehave.Clock__getter
Collapse
boolean崩溃
CurrentState
NPBehave.Enum.NodeState__getter
Decoratee
NPBehave.NodeDoCancel
(method) NPBehave.Decorator.Succeeder:DoCancel()override
DoChildStopped
(method) NPBehave.Decorator.Succeeder:DoChildStopped(child: any, result: any)override
DoParentCompositeStopped
(method) NPBehave.Node:DoParentCompositeStopped(composite: NPBehave.Composite.Composite)virtual
处于非活动状态时调用, 目的是让装饰者删除任何正在等待的观察者.
DoStart
(method) NPBehave.Decorator.Succeeder:DoStart()override
GetPath
(method) NPBehave.Node:GetPath()
-> string|unknownIsActive
boolean__getter
IsStopRequested
boolean__getter
Label
string显示标签
Name
stringParentCompositeStopped
(method) NPBehave.Decorator.Decorator:ParentCompositeStopped(composite: NPBehave.Composite.Composite)override
ParentNode
(NPBehave.Container)?RootNode
NPBehave.RootSetParent
(method) NPBehave.Node:SetParent(parentNode: NPBehave.Container)SetRoot
(method) NPBehave.Decorator.Decorator:SetRoot(rootNode: NPBehave.Root)override
Start
(method) NPBehave.Node:Start()Stopped
(method) NPBehave.Node:Stopped(success: any)virtual
这绝对必须是函数中的最后一个调用, 调用停止后切勿修改任何状态!!!
bind
(method) NPBehave.Tool.MethodDecorator:bind(func: fun(...any))
-> NPBehave.Tool.BindCallback函数绑定到对象
currentState
NPBehave.Enum.NodeStatefuncBindCache
tablename
stringNPBehave.Decorator.TimeMax
Blackboard
NPBehave.Blackboard__getter
CancelWithoutReturnResult
(method) NPBehave.Node:CancelWithoutReturnResult()ChildStopped
(method) NPBehave.Container:ChildStopped(child: NPBehave.Node, succeeded: boolean)Clock
NPBehave.Clock__getter
Collapse
boolean崩溃
CurrentState
NPBehave.Enum.NodeState__getter
Decoratee
NPBehave.NodeDoCancel
(method) NPBehave.Decorator.TimeMax:DoCancel()override
DoChildStopped
(method) NPBehave.Decorator.TimeMax:DoChildStopped(child: any, result: any)override
DoParentCompositeStopped
(method) NPBehave.Node:DoParentCompositeStopped(composite: NPBehave.Composite.Composite)virtual
处于非活动状态时调用, 目的是让装饰者删除任何正在等待的观察者.
DoStart
(method) NPBehave.Decorator.TimeMax:DoStart()override
GetPath
(method) NPBehave.Node:GetPath()
-> string|unknownIsActive
boolean__getter
IsStopRequested
boolean__getter
Label
string显示标签
Name
stringParentCompositeStopped
(method) NPBehave.Decorator.Decorator:ParentCompositeStopped(composite: NPBehave.Composite.Composite)override
ParentNode
(NPBehave.Container)?RootNode
NPBehave.RootSetParent
(method) NPBehave.Node:SetParent(parentNode: NPBehave.Container)SetRoot
(method) NPBehave.Decorator.Decorator:SetRoot(rootNode: NPBehave.Root)override
Start
(method) NPBehave.Node:Start()Stopped
(method) NPBehave.Node:Stopped(success: any)virtual
这绝对必须是函数中的最后一个调用, 调用停止后切勿修改任何状态!!!
TimeoutReached
(method) NPBehave.Decorator.TimeMax:TimeoutReached()bind
(method) NPBehave.Tool.MethodDecorator:bind(func: fun(...any))
-> NPBehave.Tool.BindCallback函数绑定到对象
currentState
NPBehave.Enum.NodeStatefuncBindCache
tablename
stringNPBehave.Decorator.TimeMin
Blackboard
NPBehave.Blackboard__getter
CancelWithoutReturnResult
(method) NPBehave.Node:CancelWithoutReturnResult()ChildStopped
(method) NPBehave.Container:ChildStopped(child: NPBehave.Node, succeeded: boolean)Clock
NPBehave.Clock__getter
Collapse
boolean崩溃
CurrentState
NPBehave.Enum.NodeState__getter
Decoratee
NPBehave.NodeDoCancel
(method) NPBehave.Decorator.TimeMin:DoCancel()override
DoChildStopped
(method) NPBehave.Decorator.TimeMin:DoChildStopped(child: any, result: any)override
DoParentCompositeStopped
(method) NPBehave.Node:DoParentCompositeStopped(composite: NPBehave.Composite.Composite)virtual
处于非活动状态时调用, 目的是让装饰者删除任何正在等待的观察者.
DoStart
(method) NPBehave.Decorator.TimeMin:DoStart()override
GetPath
(method) NPBehave.Node:GetPath()
-> string|unknownIsActive
boolean__getter
IsStopRequested
boolean__getter
Label
string显示标签
Name
stringParentCompositeStopped
(method) NPBehave.Decorator.Decorator:ParentCompositeStopped(composite: NPBehave.Composite.Composite)override
ParentNode
(NPBehave.Container)?RootNode
NPBehave.RootSetParent
(method) NPBehave.Node:SetParent(parentNode: NPBehave.Container)SetRoot
(method) NPBehave.Decorator.Decorator:SetRoot(rootNode: NPBehave.Root)override
Start
(method) NPBehave.Node:Start()Stopped
(method) NPBehave.Node:Stopped(success: any)virtual
这绝对必须是函数中的最后一个调用, 调用停止后切勿修改任何状态!!!
TimeoutReached
(method) NPBehave.Decorator.TimeMin:TimeoutReached()bind
(method) NPBehave.Tool.MethodDecorator:bind(func: fun(...any))
-> NPBehave.Tool.BindCallback函数绑定到对象
currentState
NPBehave.Enum.NodeStatefuncBindCache
tablename
stringNPBehave.Decorator.WaitForCondition
Blackboard
NPBehave.Blackboard__getter
CancelWithoutReturnResult
(method) NPBehave.Node:CancelWithoutReturnResult()CheckCondition
(method) NPBehave.Decorator.WaitForCondition:CheckCondition()ChildStopped
(method) NPBehave.Container:ChildStopped(child: NPBehave.Node, succeeded: boolean)Clock
NPBehave.Clock__getter
Collapse
boolean崩溃
CurrentState
NPBehave.Enum.NodeState__getter
Decoratee
NPBehave.NodeDoCancel
(method) NPBehave.Decorator.WaitForCondition:DoCancel()override
DoChildStopped
(method) NPBehave.Decorator.WaitForCondition:DoChildStopped(child: any, result: any)override
DoParentCompositeStopped
(method) NPBehave.Node:DoParentCompositeStopped(composite: NPBehave.Composite.Composite)virtual
处于非活动状态时调用, 目的是让装饰者删除任何正在等待的观察者.
DoStart
(method) NPBehave.Decorator.WaitForCondition:DoStart()override
GetPath
(method) NPBehave.Node:GetPath()
-> string|unknownIsActive
boolean__getter
IsStopRequested
boolean__getter
Label
stringName
stringParentCompositeStopped
(method) NPBehave.Decorator.Decorator:ParentCompositeStopped(composite: NPBehave.Composite.Composite)override
ParentNode
(NPBehave.Container)?RootNode
NPBehave.RootSetParent
(method) NPBehave.Node:SetParent(parentNode: NPBehave.Container)SetRoot
(method) NPBehave.Decorator.Decorator:SetRoot(rootNode: NPBehave.Root)override
Start
(method) NPBehave.Node:Start()Stopped
(method) NPBehave.Node:Stopped(success: any)virtual
这绝对必须是函数中的最后一个调用, 调用停止后切勿修改任何状态!!!
bind
(method) NPBehave.Tool.MethodDecorator:bind(func: fun(...any))
-> NPBehave.Tool.BindCallback函数绑定到对象
currentState
NPBehave.Enum.NodeStatefuncBindCache
tablename
stringNPBehave.Enum.NodeState
{
Inactive: string = Inactive,
Active: string = Active,
StopRequested: string = StopRequested,
}NPBehave.Enum.NodeState.Active
NPBehave.Enum.NodeState.Inactive
NPBehave.Enum.NodeState.StopRequested
NPBehave.Enum.Operator
{
IsSet: string = IsSet,
IsNotSet: string = IsNotSet,
IsEqual: string = IsEqual,
IsNotEqual: string = IsNotEqual,
IsGreaterOrEqual: string = IsGreaterOrEqual,
IsGreater: string = IsGreater,
IsSmallerOrEqual: string = IsSmallerOrEqual,
IsSmaller: string = IsSmaller,
AlwaysTrue: string = AlwaysTrue,
}NPBehave.Enum.Operator.AlwaysTrue
NPBehave.Enum.Operator.IsEqual
NPBehave.Enum.Operator.IsGreater
NPBehave.Enum.Operator.IsGreaterOrEqual
NPBehave.Enum.Operator.IsNotEqual
NPBehave.Enum.Operator.IsNotSet
NPBehave.Enum.Operator.IsSet
NPBehave.Enum.Operator.IsSmaller
NPBehave.Enum.Operator.IsSmallerOrEqual
NPBehave.Enum.ParallelPolicy
{
One: string = One,
All: string = All,
}NPBehave.Enum.ParallelPolicy.All
NPBehave.Enum.ParallelPolicy.One
NPBehave.Enum.Stops
{
None: string = None,
Self: string = Self,
LowerPriority: string = LowerPriority,
Both: string = Both,
ImmediateRestart: string = ImmediateRestart,
LowerPriorityImmediateRestart: string = LowerPriorityImmediateRestart,
}NPBehave.Enum.Stops.Both
NPBehave.Enum.Stops.ImmediateRestart
NPBehave.Enum.Stops.LowerPriority
NPBehave.Enum.Stops.LowerPriorityImmediateRestart
NPBehave.Enum.Stops.None
NPBehave.Enum.Stops.Self
NPBehave.GameContext
Blackboards
table<string, NPBehave.Blackboard>Clock
unknownGetInstance
function NPBehave.Context.GetInstance()
-> NPBehave.ContextGetSharedBlackboard
function NPBehave.Context.GetSharedBlackboard(key: string)
-> NPBehave.Blackboard获取共享黑板
Instance
nilabstract
Platform
nilabstract
Update
function NPBehave.GameContext.Update(gameTime: number)NPBehave.GamePlatform
GenerateRandom
(method) NPBehave.GamePlatform:GenerateRandom()
-> numberoverride
NPBehave.Node
Blackboard
NPBehave.Blackboard__getter
CancelWithoutReturnResult
(method) NPBehave.Node:CancelWithoutReturnResult()Clock
NPBehave.Clock__getter
CurrentState
NPBehave.Enum.NodeState__getter
DoCancel
(method) NPBehave.Node:DoCancel()virtual
DoParentCompositeStopped
(method) NPBehave.Node:DoParentCompositeStopped(composite: NPBehave.Composite.Composite)virtual
处于非活动状态时调用, 目的是让装饰者删除任何正在等待的观察者.
DoStart
(method) NPBehave.Node:DoStart()virtual
GetPath
(method) NPBehave.Node:GetPath()
-> string|unknownIsActive
boolean__getter
IsStopRequested
boolean__getter
Label
string显示标签
Name
stringParentCompositeStopped
(method) NPBehave.Node:ParentCompositeStopped(composite: NPBehave.Composite.Composite)virtual
ParentNode
(NPBehave.Container)?RootNode
NPBehave.RootSetParent
(method) NPBehave.Node:SetParent(parentNode: NPBehave.Container)SetRoot
(method) NPBehave.Node:SetRoot(rootNode: NPBehave.Root)virtual
Start
(method) NPBehave.Node:Start()Stopped
(method) NPBehave.Node:Stopped(success: any)virtual
这绝对必须是函数中的最后一个调用, 调用停止后切勿修改任何状态!!!
bind
(method) NPBehave.Tool.MethodDecorator:bind(func: fun(...any))
-> NPBehave.Tool.BindCallback函数绑定到对象
currentState
NPBehave.Enum.NodeStatefuncBindCache
tablename
stringNPBehave.Platform
abstract
GenerateRandom
fun():numberabstract
NPBehave.Root
Blackboard
NPBehave.Blackboard__getter
CancelWithoutReturnResult
(method) NPBehave.Node:CancelWithoutReturnResult()ChildStopped
(method) NPBehave.Container:ChildStopped(child: NPBehave.Node, succeeded: boolean)Clock
NPBehave.Clock__getter
Collapse
boolean崩溃
CurrentState
NPBehave.Enum.NodeState__getter
Decoratee
NPBehave.NodeDoCancel
(method) NPBehave.Root:DoCancel()override
DoChildStopped
(method) NPBehave.Root:DoChildStopped(node: any, success: any)override
DoParentCompositeStopped
(method) NPBehave.Node:DoParentCompositeStopped(composite: NPBehave.Composite.Composite)virtual
处于非活动状态时调用, 目的是让装饰者删除任何正在等待的观察者.
DoStart
(method) NPBehave.Root:DoStart()override
GetPath
(method) NPBehave.Node:GetPath()
-> string|unknownIsActive
boolean__getter
IsStopRequested
boolean__getter
Label
string显示标签
Name
stringParentCompositeStopped
(method) NPBehave.Decorator.Decorator:ParentCompositeStopped(composite: NPBehave.Composite.Composite)override
ParentNode
(NPBehave.Container)?RootNode
NPBehave.RootSetParent
(method) NPBehave.Node:SetParent(parentNode: NPBehave.Container)SetRoot
(method) NPBehave.Root:SetRoot(rootNode: NPBehave.Root)Start
(method) NPBehave.Node:Start()Stopped
(method) NPBehave.Node:Stopped(success: any)virtual
这绝对必须是函数中的最后一个调用, 调用停止后切勿修改任何状态!!!
bind
(method) NPBehave.Tool.MethodDecorator:bind(func: fun(...any))
-> NPBehave.Tool.BindCallback函数绑定到对象
currentState
NPBehave.Enum.NodeStatefuncBindCache
tablename
stringNPBehave.Task.Action
Blackboard
NPBehave.Blackboard__getter
CancelWithoutReturnResult
(method) NPBehave.Node:CancelWithoutReturnResult()Clock
NPBehave.Clock__getter
CurrentState
NPBehave.Enum.NodeState__getter
DoCancel
(method) NPBehave.Task.Action:DoCancel()override
DoParentCompositeStopped
(method) NPBehave.Node:DoParentCompositeStopped(composite: NPBehave.Composite.Composite)virtual
处于非活动状态时调用, 目的是让装饰者删除任何正在等待的观察者.
DoStart
(method) NPBehave.Task.Action:DoStart()override
GetPath
(method) NPBehave.Node:GetPath()
-> string|unknownIsActive
boolean__getter
IsStopRequested
boolean__getter
Label
string显示标签
Name
stringOnUpdateFunc
(method) NPBehave.Task.Action:OnUpdateFunc()ParentCompositeStopped
(method) NPBehave.Node:ParentCompositeStopped(composite: NPBehave.Composite.Composite)virtual
ParentNode
(NPBehave.Container)?RootNode
NPBehave.RootSetParent
(method) NPBehave.Node:SetParent(parentNode: NPBehave.Container)SetRoot
(method) NPBehave.Node:SetRoot(rootNode: NPBehave.Root)virtual
Start
(method) NPBehave.Node:Start()Stopped
(method) NPBehave.Node:Stopped(success: any)virtual
这绝对必须是函数中的最后一个调用, 调用停止后切勿修改任何状态!!!
bind
(method) NPBehave.Tool.MethodDecorator:bind(func: fun(...any))
-> NPBehave.Tool.BindCallback函数绑定到对象
currentState
NPBehave.Enum.NodeStatefuncBindCache
tablename
stringNPBehave.Task.Action.InitParam
action
fun()?multiFrameFunc
(fun(param: boolean):NPBehaveTaskActionResult)?singleFrameFunc
(fun():boolean)?NPBehave.Task.Task
abstract
Blackboard
NPBehave.Blackboard__getter
CancelWithoutReturnResult
(method) NPBehave.Node:CancelWithoutReturnResult()Clock
NPBehave.Clock__getter
CurrentState
NPBehave.Enum.NodeState__getter
DoCancel
(method) NPBehave.Node:DoCancel()virtual
DoParentCompositeStopped
(method) NPBehave.Node:DoParentCompositeStopped(composite: NPBehave.Composite.Composite)virtual
处于非活动状态时调用, 目的是让装饰者删除任何正在等待的观察者.
DoStart
(method) NPBehave.Node:DoStart()virtual
GetPath
(method) NPBehave.Node:GetPath()
-> string|unknownIsActive
boolean__getter
IsStopRequested
boolean__getter
Label
string显示标签
Name
stringParentCompositeStopped
(method) NPBehave.Node:ParentCompositeStopped(composite: NPBehave.Composite.Composite)virtual
ParentNode
(NPBehave.Container)?RootNode
NPBehave.RootSetParent
(method) NPBehave.Node:SetParent(parentNode: NPBehave.Container)SetRoot
(method) NPBehave.Node:SetRoot(rootNode: NPBehave.Root)virtual
Start
(method) NPBehave.Node:Start()Stopped
(method) NPBehave.Node:Stopped(success: any)virtual
这绝对必须是函数中的最后一个调用, 调用停止后切勿修改任何状态!!!
bind
(method) NPBehave.Tool.MethodDecorator:bind(func: fun(...any))
-> NPBehave.Tool.BindCallback函数绑定到对象
currentState
NPBehave.Enum.NodeStatefuncBindCache
tablename
stringNPBehave.Task.Wait
Blackboard
NPBehave.Blackboard__getter
CancelWithoutReturnResult
(method) NPBehave.Node:CancelWithoutReturnResult()Clock
NPBehave.Clock__getter
CurrentState
NPBehave.Enum.NodeState__getter
DoCancel
(method) NPBehave.Task.Wait:DoCancel()override
DoParentCompositeStopped
(method) NPBehave.Node:DoParentCompositeStopped(composite: NPBehave.Composite.Composite)virtual
处于非活动状态时调用, 目的是让装饰者删除任何正在等待的观察者.
DoStart
(method) NPBehave.Task.Wait:DoStart()override
GetPath
(method) NPBehave.Node:GetPath()
-> string|unknownIsActive
boolean__getter
IsStopRequested
boolean__getter
Label
string显示标签
Name
stringOnTimer
(method) NPBehave.Task.Wait:OnTimer()ParentCompositeStopped
(method) NPBehave.Node:ParentCompositeStopped(composite: NPBehave.Composite.Composite)virtual
ParentNode
(NPBehave.Container)?RootNode
NPBehave.RootSetParent
(method) NPBehave.Node:SetParent(parentNode: NPBehave.Container)SetRoot
(method) NPBehave.Node:SetRoot(rootNode: NPBehave.Root)virtual
Start
(method) NPBehave.Node:Start()Stopped
(method) NPBehave.Node:Stopped(success: any)virtual
这绝对必须是函数中的最后一个调用, 调用停止后切勿修改任何状态!!!
bind
(method) NPBehave.Tool.MethodDecorator:bind(func: fun(...any))
-> NPBehave.Tool.BindCallback函数绑定到对象
currentState
NPBehave.Enum.NodeStatefuncBindCache
tablename
stringNPBehave.Task.Wait.Data
blackboardKey
string?callback
(fun():number)?randomVariance
number?seconds
number?NPBehave.Task.WaitUntilStopped
Blackboard
NPBehave.Blackboard__getter
CancelWithoutReturnResult
(method) NPBehave.Node:CancelWithoutReturnResult()Clock
NPBehave.Clock__getter
CurrentState
NPBehave.Enum.NodeState__getter
DoCancel
(method) NPBehave.Task.WaitUntilStopped:DoCancel()DoParentCompositeStopped
(method) NPBehave.Node:DoParentCompositeStopped(composite: NPBehave.Composite.Composite)virtual
处于非活动状态时调用, 目的是让装饰者删除任何正在等待的观察者.
DoStart
(method) NPBehave.Node:DoStart()virtual
GetPath
(method) NPBehave.Node:GetPath()
-> string|unknownIsActive
boolean__getter
IsStopRequested
boolean__getter
Label
string显示标签
Name
stringParentCompositeStopped
(method) NPBehave.Node:ParentCompositeStopped(composite: NPBehave.Composite.Composite)virtual
ParentNode
(NPBehave.Container)?RootNode
NPBehave.RootSetParent
(method) NPBehave.Node:SetParent(parentNode: NPBehave.Container)SetRoot
(method) NPBehave.Node:SetRoot(rootNode: NPBehave.Root)virtual
Start
(method) NPBehave.Node:Start()Stopped
(method) NPBehave.Node:Stopped(success: any)virtual
这绝对必须是函数中的最后一个调用, 调用停止后切勿修改任何状态!!!
bind
(method) NPBehave.Tool.MethodDecorator:bind(func: fun(...any))
-> NPBehave.Tool.BindCallback函数绑定到对象
currentState
NPBehave.Enum.NodeStatefuncBindCache
tablename
stringNPBehave.Tool.BindCallback
NPBehave.Tool.MethodDecorator
bind
(method) NPBehave.Tool.MethodDecorator:bind(func: fun(...any))
-> NPBehave.Tool.BindCallback函数绑定到对象
funcBindCache
table
