C# Class behaviac.DecoratorIterator

Inheritance: behaviac.DecoratorNode
ファイルを表示 Open project: dengwei-moba/dengwei-moba-ios-c Class Usage Examples

Protected Properties

Property Type Description
m_opl IInstanceMember
m_opr IInstanceMember

Public Methods

Method Description
IsValid ( behaviac.Agent pAgent, behaviac.BehaviorTask pTask ) : bool
IterateIt ( behaviac.Agent pAgent, int index, int &count ) : bool
decompose ( behaviac.BehaviorNode node, behaviac.PlannerTaskComplex seqTask, int depth, behaviac.Planner planner ) : bool

Protected Methods

Method Description
createTask ( ) : behaviac.BehaviorTask
load ( int version, string agentType, List properties ) : void

Method Details

IsValid() public method

public IsValid ( behaviac.Agent pAgent, behaviac.BehaviorTask pTask ) : bool
pAgent behaviac.Agent
pTask behaviac.BehaviorTask
return bool

IterateIt() public method

public IterateIt ( behaviac.Agent pAgent, int index, int &count ) : bool
pAgent behaviac.Agent
index int
count int
return bool

createTask() protected method

protected createTask ( ) : behaviac.BehaviorTask
return behaviac.BehaviorTask

decompose() public method

public decompose ( behaviac.BehaviorNode node, behaviac.PlannerTaskComplex seqTask, int depth, behaviac.Planner planner ) : bool
node behaviac.BehaviorNode
seqTask behaviac.PlannerTaskComplex
depth int
planner behaviac.Planner
return bool

load() protected method

protected load ( int version, string agentType, List properties ) : void
version int
agentType string
properties List
return void

Property Details

m_opl protected_oe property

protected IInstanceMember m_opl
return IInstanceMember

m_opr protected_oe property

protected IInstanceMember m_opr
return IInstanceMember