C# 클래스 BehaviorTree.BehaviorTreeNode

节点基类
파일 보기 프로젝트 열기: meta-42/uEasyKit 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
_invalidChildNodeIndex int
_maxChildNodeCount int

보호된 프로퍼티들

프로퍼티 타입 설명
mActiveNodeCur BehaviorTreeNode
mActiveNodeLast BehaviorTreeNode
mChildren BehaviorTree.BehaviorTreeNode[]
mChildrenCount int
mCondition BehaviorTreeCondition
mParentNode BehaviorTreeNode

공개 메소드들

메소드 설명
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

보호된 메소드들

메소드 설명
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

메소드 상세

AddChildNode() 공개 메소드

public AddChildNode ( BehaviorTreeNode rNode ) : BehaviorTreeNode
rNode BehaviorTreeNode
리턴 BehaviorTreeNode

BehaviorTreeNode() 공개 메소드

public BehaviorTreeNode ( BehaviorTreeNode rParentNode, BehaviorTreeCondition rCondition = null ) : System.Collections
rParentNode BehaviorTreeNode
rCondition BehaviorTreeCondition
리턴 System.Collections

CheckIndexSafe() 보호된 메소드

protected CheckIndexSafe ( int rIndex ) : bool
rIndex int
리턴 bool

Evaluate() 공개 메소드

public Evaluate ( System.Object rInput ) : bool
rInput System.Object
리턴 bool

EvaluateInternal() 보호된 메소드

protected EvaluateInternal ( System.Object rInput ) : bool
rInput System.Object
리턴 bool

GetActiveNodeLast() 공개 메소드

public GetActiveNodeLast ( ) : BehaviorTreeNode
리턴 BehaviorTreeNode

SetActiveNode() 공개 메소드

public SetActiveNode ( BehaviorTreeNode rNode ) : void
rNode BehaviorTreeNode
리턴 void

SetExternalCondition() 공개 메소드

public SetExternalCondition ( BehaviorTreeCondition rCondition ) : BehaviorTreeNode
rCondition BehaviorTreeCondition
리턴 BehaviorTreeNode

SetParentNode() 보호된 메소드

protected SetParentNode ( BehaviorTreeNode rParentNode ) : void
rParentNode BehaviorTreeNode
리턴 void

Transition() 공개 메소드

public Transition ( System.Object rInput ) : void
rInput System.Object
리턴 void

TransitionInternal() 보호된 메소드

protected TransitionInternal ( System.Object rInput ) : void
rInput System.Object
리턴 void

Update() 공개 메소드

public Update ( System.Object rInput, System.Object rOutput ) : NodeRunningStatus
rInput System.Object
rOutput System.Object
리턴 NodeRunningStatus

UpdateInternal() 보호된 메소드

protected UpdateInternal ( System.Object rInput, System.Object rOutput ) : NodeRunningStatus
rInput System.Object
rOutput System.Object
리턴 NodeRunningStatus

프로퍼티 상세

_invalidChildNodeIndex 공개적으로 정적으로 프로퍼티

public static int _invalidChildNodeIndex
리턴 int

_maxChildNodeCount 공개적으로 정적으로 프로퍼티

public static int _maxChildNodeCount
리턴 int

mActiveNodeCur 보호되어 있는 프로퍼티

protected BehaviorTreeNode,BehaviorTree mActiveNodeCur
리턴 BehaviorTreeNode

mActiveNodeLast 보호되어 있는 프로퍼티

protected BehaviorTreeNode,BehaviorTree mActiveNodeLast
리턴 BehaviorTreeNode

mChildren 보호되어 있는 프로퍼티

protected BehaviorTreeNode[],BehaviorTree mChildren
리턴 BehaviorTree.BehaviorTreeNode[]

mChildrenCount 보호되어 있는 프로퍼티

protected int mChildrenCount
리턴 int

mCondition 보호되어 있는 프로퍼티

protected BehaviorTreeCondition,BehaviorTree mCondition
리턴 BehaviorTreeCondition

mParentNode 보호되어 있는 프로퍼티

protected BehaviorTreeNode,BehaviorTree mParentNode
리턴 BehaviorTreeNode