TopDown Engine  v3.6
MoreMountains.TopDownEngine.AIActionRunStart Class Reference

An AIACtion used to have an AI start running More...

Inheritance diagram for MoreMountains.TopDownEngine.AIActionRunStart:
MoreMountains.Tools.AIAction

Public Member Functions

override void Initialization ()
 On init we grab our Run ability More...
 
override void PerformAction ()
 Requests running to start More...
 
override void OnEnterState ()
 On enter state we reset our flag More...
 
- Public Member Functions inherited from MoreMountains.Tools.AIAction
virtual void OnExitState ()
 Describes what happens when the brain exits the state this action is in. Meant to be overridden. More...
 

Public Attributes

bool OnlyRunOnce = true
 if this is true, this action will only run once in a state (this flag will reset on state exit) More...
 
- Public Attributes inherited from MoreMountains.Tools.AIAction
InitializationModes InitializationMode
 
string Label
 a label you can set to organize your AI Actions, not used by anything else More...
 

Protected Attributes

Character _character
 
CharacterRun _characterRun
 
bool _alreadyRan = false
 
- Protected Attributes inherited from MoreMountains.Tools.AIAction
bool _initialized
 
AIBrain _brain
 

Additional Inherited Members

- Public Types inherited from MoreMountains.Tools.AIAction
enum  InitializationModes { InitializationModes.EveryTime, InitializationModes.OnlyOnce }
 
- Protected Member Functions inherited from MoreMountains.Tools.AIAction
virtual void Awake ()
 On Awake we grab our AIBrain More...
 
- Properties inherited from MoreMountains.Tools.AIAction
virtual bool ActionInProgress [get, set]
 
virtual bool ShouldInitialize [get]
 

Detailed Description

An AIACtion used to have an AI start running

Member Function Documentation

◆ Initialization()

override void MoreMountains.TopDownEngine.AIActionRunStart.Initialization ( )
virtual

On init we grab our Run ability

Reimplemented from MoreMountains.Tools.AIAction.

◆ OnEnterState()

override void MoreMountains.TopDownEngine.AIActionRunStart.OnEnterState ( )
virtual

On enter state we reset our flag

Reimplemented from MoreMountains.Tools.AIAction.

◆ PerformAction()

override void MoreMountains.TopDownEngine.AIActionRunStart.PerformAction ( )
virtual

Requests running to start

Implements MoreMountains.Tools.AIAction.

Member Data Documentation

◆ _alreadyRan

bool MoreMountains.TopDownEngine.AIActionRunStart._alreadyRan = false
protected

◆ _character

Character MoreMountains.TopDownEngine.AIActionRunStart._character
protected

◆ _characterRun

CharacterRun MoreMountains.TopDownEngine.AIActionRunStart._characterRun
protected

◆ OnlyRunOnce

bool MoreMountains.TopDownEngine.AIActionRunStart.OnlyRunOnce = true

if this is true, this action will only run once in a state (this flag will reset on state exit)


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