ICECreatureControl  1.3.2
Public Member Functions | Public Attributes | Properties | List of all members
ICE.Creatures.Objects.BehaviourModeObject Class Reference
Inheritance diagram for ICE.Creatures.Objects.BehaviourModeObject:
Inheritance graph
Collaboration diagram for ICE.Creatures.Objects.BehaviourModeObject:
Collaboration graph

Public Member Functions

 BehaviourModeObject ()
 
 BehaviourModeObject (string _key)
 
 BehaviourModeObject (ICEWorldBehaviour _component)
 
 BehaviourModeObject (BehaviourModeObject _mode)
 
void Copy (BehaviourModeObject _object)
 
void Start (ICEWorldBehaviour _component)
 Starts the behaviour mode. More...
 
void Stop ()
 Stops the behaviour mode include its rules. More...
 
void Update ()
 Update the behaviour mode include its active rule. More...
 
float RuleLength ()
 
bool NextRule ()
 

Public Attributes

string Key = ""
 
SequenceOrderType RulesOrderType
 
bool RulesOrderInverse
 
BehaviourModeFavouredObject m_Favoured = null
 

Properties

BehaviourModeFavouredObject Favoured [get, set]
 
bool Active [get]
 
bool IsValid [get]
 Gets a value indicating whether this instance is valid. More...
 
bool IsReady [get]
 
bool HasActiveDetourRule [get]
 Gets a value indicating whether this instance has active detour rule. More...
 
bool HasDetourRules [get]
 Gets a value indicating whether this instance has detour rules. More...
 
bool RuleChanged [get]
 
BehaviourModeRuleObject Rule [get]
 
BehaviourModeRuleObject LastRule [get]
 
int ActiveRuleIndex [get]
 Gets the index of the active rule. More...
 
int LastRuleIndex [get]
 Gets the index of the last rule. More...
 
List< BehaviourModeRuleObjectRules [get, set]
 
List< BehaviourModeRuleObjectValidRules [get]
 

Constructor & Destructor Documentation

ICE.Creatures.Objects.BehaviourModeObject.BehaviourModeObject ( )
ICE.Creatures.Objects.BehaviourModeObject.BehaviourModeObject ( string  _key)
ICE.Creatures.Objects.BehaviourModeObject.BehaviourModeObject ( ICEWorldBehaviour  _component)
ICE.Creatures.Objects.BehaviourModeObject.BehaviourModeObject ( BehaviourModeObject  _mode)

Member Function Documentation

void ICE.Creatures.Objects.BehaviourModeObject.Copy ( BehaviourModeObject  _object)
bool ICE.Creatures.Objects.BehaviourModeObject.NextRule ( )

Here is the caller graph for this function:

float ICE.Creatures.Objects.BehaviourModeObject.RuleLength ( )

Here is the caller graph for this function:

void ICE.Creatures.Objects.BehaviourModeObject.Start ( ICEWorldBehaviour  _component)

Starts the behaviour mode.

Parameters
_componentComponent.

Here is the caller graph for this function:

void ICE.Creatures.Objects.BehaviourModeObject.Stop ( )

Stops the behaviour mode include its rules.

Here is the caller graph for this function:

void ICE.Creatures.Objects.BehaviourModeObject.Update ( )

Update the behaviour mode include its active rule.

Here is the caller graph for this function:

Member Data Documentation

string ICE.Creatures.Objects.BehaviourModeObject.Key = ""
BehaviourModeFavouredObject ICE.Creatures.Objects.BehaviourModeObject.m_Favoured = null
bool ICE.Creatures.Objects.BehaviourModeObject.RulesOrderInverse
SequenceOrderType ICE.Creatures.Objects.BehaviourModeObject.RulesOrderType

Property Documentation

bool ICE.Creatures.Objects.BehaviourModeObject.Active
get
int ICE.Creatures.Objects.BehaviourModeObject.ActiveRuleIndex
get

Gets the index of the active rule.

The index of the active rule.

BehaviourModeFavouredObject ICE.Creatures.Objects.BehaviourModeObject.Favoured
getset
bool ICE.Creatures.Objects.BehaviourModeObject.HasActiveDetourRule
get

Gets a value indicating whether this instance has active detour rule.

true if this instance has active detour rule; otherwise, false.

bool ICE.Creatures.Objects.BehaviourModeObject.HasDetourRules
get

Gets a value indicating whether this instance has detour rules.

true if this instance has detour rules; otherwise, false.

bool ICE.Creatures.Objects.BehaviourModeObject.IsReady
get
bool ICE.Creatures.Objects.BehaviourModeObject.IsValid
get

Gets a value indicating whether this instance is valid.

true if this instance is valid; otherwise, false.

BehaviourModeRuleObject ICE.Creatures.Objects.BehaviourModeObject.LastRule
get
int ICE.Creatures.Objects.BehaviourModeObject.LastRuleIndex
get

Gets the index of the last rule.

The last index of the rule.

BehaviourModeRuleObject ICE.Creatures.Objects.BehaviourModeObject.Rule
get
bool ICE.Creatures.Objects.BehaviourModeObject.RuleChanged
get
List<BehaviourModeRuleObject> ICE.Creatures.Objects.BehaviourModeObject.Rules
getset
List<BehaviourModeRuleObject> ICE.Creatures.Objects.BehaviourModeObject.ValidRules
get

The documentation for this class was generated from the following file: