C# Class BehaviorTree.BehaviorTreeNode

节点基类
Afficher le fichier Open project: meta-42/uEasyKit Class Usage Examples

Méthodes publiques

Свойство Type Description
_invalidChildNodeIndex int
_maxChildNodeCount int

Protected Properties

Свойство Type Description
mActiveNodeCur BehaviorTreeNode
mActiveNodeLast BehaviorTreeNode
mChildren BehaviorTree.BehaviorTreeNode[]
mChildrenCount int
mCondition BehaviorTreeCondition
mParentNode BehaviorTreeNode

Méthodes publiques

Méthode Description
AddChildNode ( BehaviorTreeNode rNode ) : BehaviorTreeNode
BehaviorTreeNode ( BehaviorTreeNode rParentNode, BehaviorTreeCondition rCondition = null ) : System.Collections
Evaluate ( System.Object rInput ) : bool
GetActiveNodeLast ( ) : BehaviorTreeNode
SetActiveNode ( BehaviorTreeNode rNode ) : void
SetExternalCondition ( BehaviorTreeCondition rCondition ) : BehaviorTreeNode
Transition ( System.Object rInput ) : void
Update ( System.Object rInput, System.Object rOutput ) : NodeRunningStatus

Méthodes protégées

Méthode Description
CheckIndexSafe ( int rIndex ) : bool
EvaluateInternal ( System.Object rInput ) : bool
SetParentNode ( BehaviorTreeNode rParentNode ) : void
TransitionInternal ( System.Object rInput ) : void
UpdateInternal ( System.Object rInput, System.Object rOutput ) : NodeRunningStatus

Method Details

AddChildNode() public méthode

public AddChildNode ( BehaviorTreeNode rNode ) : BehaviorTreeNode
rNode BehaviorTreeNode
Résultat BehaviorTreeNode

BehaviorTreeNode() public méthode

public BehaviorTreeNode ( BehaviorTreeNode rParentNode, BehaviorTreeCondition rCondition = null ) : System.Collections
rParentNode BehaviorTreeNode
rCondition BehaviorTreeCondition
Résultat System.Collections

CheckIndexSafe() protected méthode

protected CheckIndexSafe ( int rIndex ) : bool
rIndex int
Résultat bool

Evaluate() public méthode

public Evaluate ( System.Object rInput ) : bool
rInput System.Object
Résultat bool

EvaluateInternal() protected méthode

protected EvaluateInternal ( System.Object rInput ) : bool
rInput System.Object
Résultat bool

GetActiveNodeLast() public méthode

public GetActiveNodeLast ( ) : BehaviorTreeNode
Résultat BehaviorTreeNode

SetActiveNode() public méthode

public SetActiveNode ( BehaviorTreeNode rNode ) : void
rNode BehaviorTreeNode
Résultat void

SetExternalCondition() public méthode

public SetExternalCondition ( BehaviorTreeCondition rCondition ) : BehaviorTreeNode
rCondition BehaviorTreeCondition
Résultat BehaviorTreeNode

SetParentNode() protected méthode

protected SetParentNode ( BehaviorTreeNode rParentNode ) : void
rParentNode BehaviorTreeNode
Résultat void

Transition() public méthode

public Transition ( System.Object rInput ) : void
rInput System.Object
Résultat void

TransitionInternal() protected méthode

protected TransitionInternal ( System.Object rInput ) : void
rInput System.Object
Résultat void

Update() public méthode

public Update ( System.Object rInput, System.Object rOutput ) : NodeRunningStatus
rInput System.Object
rOutput System.Object
Résultat NodeRunningStatus

UpdateInternal() protected méthode

protected UpdateInternal ( System.Object rInput, System.Object rOutput ) : NodeRunningStatus
rInput System.Object
rOutput System.Object
Résultat NodeRunningStatus

Property Details

_invalidChildNodeIndex public_oe static_oe property

public static int _invalidChildNodeIndex
Résultat int

_maxChildNodeCount public_oe static_oe property

public static int _maxChildNodeCount
Résultat int

mActiveNodeCur protected_oe property

protected BehaviorTreeNode,BehaviorTree mActiveNodeCur
Résultat BehaviorTreeNode

mActiveNodeLast protected_oe property

protected BehaviorTreeNode,BehaviorTree mActiveNodeLast
Résultat BehaviorTreeNode

mChildren protected_oe property

protected BehaviorTreeNode[],BehaviorTree mChildren
Résultat BehaviorTree.BehaviorTreeNode[]

mChildrenCount protected_oe property

protected int mChildrenCount
Résultat int

mCondition protected_oe property

protected BehaviorTreeCondition,BehaviorTree mCondition
Résultat BehaviorTreeCondition

mParentNode protected_oe property

protected BehaviorTreeNode,BehaviorTree mParentNode
Résultat BehaviorTreeNode