Corgi Engine
v9.0
|
This decision will return true after the specified duration (in seconds) has passed since the level was loaded. More...
Public Member Functions | |
override void | Initialization () |
On init we store our current time More... | |
override bool | Decide () |
On Decide we evaluate our time since the level has started More... | |
Public Member Functions inherited from MoreMountains.Tools.AIDecision | |
virtual void | OnEnterState () |
Meant to be overridden, called when the Brain enters a State this Decision is in More... | |
virtual void | OnExitState () |
Meant to be overridden, called when the Brain exits a State this Decision is in More... | |
Public Attributes | |
float | AfterTime |
The duration (in seconds) after which to return true. More... | |
Public Attributes inherited from MoreMountains.Tools.AIDecision | |
string | Label |
a label you can set to organize your AI Decisions, not used by anything else More... | |
Protected Member Functions | |
virtual bool | EvaluateTime () |
Returns true if the time since the level has started has exceeded our requirements More... | |
Protected Member Functions inherited from MoreMountains.Tools.AIDecision | |
virtual void | Awake () |
On Awake we grab our Brain More... | |
Protected Attributes | |
float | _startTime |
Protected Attributes inherited from MoreMountains.Tools.AIDecision | |
AIBrain | _brain |
Additional Inherited Members | |
Properties inherited from MoreMountains.Tools.AIDecision | |
virtual bool | DecisionInProgress [get, set] |
This decision will return true after the specified duration (in seconds) has passed since the level was loaded.
|
virtual |
On Decide we evaluate our time since the level has started
Implements MoreMountains.Tools.AIDecision.
|
protectedvirtual |
Returns true if the time since the level has started has exceeded our requirements
|
virtual |
On init we store our current time
Reimplemented from MoreMountains.Tools.AIDecision.
|
protected |
float MoreMountains.CorgiEngine.AIDecisionTimeSinceStart.AfterTime |
The duration (in seconds) after which to return true.