Feel  3.16
The best way to improve your game's feel and make it extra juicy
MoreMountains.Tools.AIAction Class Referenceabstract

Actions are behaviours and describe what your character is doing. Examples include patrolling, shooting, jumping, etc. More...

Inheritance diagram for MoreMountains.Tools.AIAction:

Public Types

enum  InitializationModes { InitializationModes.EveryTime, InitializationModes.OnlyOnce }
 

Public Member Functions

abstract void PerformAction ()
 
virtual void Initialization ()
 Initializes the action. Meant to be overridden More...
 
virtual void OnEnterState ()
 Describes what happens when the brain enters the state this action is in. Meant to be overridden. More...
 
virtual void OnExitState ()
 Describes what happens when the brain exits the state this action is in. Meant to be overridden. More...
 

Public Attributes

InitializationModes InitializationMode
 
string Label
 a label you can set to organize your AI Actions, not used by anything else More...
 

Protected Member Functions

virtual void Awake ()
 On Awake we grab our AIBrain More...
 

Protected Attributes

bool _initialized
 
AIBrain _brain
 

Properties

virtual bool ActionInProgress [get, set]
 
virtual bool ShouldInitialize [get]
 

Detailed Description

Actions are behaviours and describe what your character is doing. Examples include patrolling, shooting, jumping, etc.

Member Enumeration Documentation

◆ InitializationModes

Enumerator
EveryTime 
OnlyOnce 

Member Function Documentation

◆ Awake()

virtual void MoreMountains.Tools.AIAction.Awake ( )
protectedvirtual

On Awake we grab our AIBrain

◆ Initialization()

virtual void MoreMountains.Tools.AIAction.Initialization ( )
virtual

Initializes the action. Meant to be overridden

◆ OnEnterState()

virtual void MoreMountains.Tools.AIAction.OnEnterState ( )
virtual

Describes what happens when the brain enters the state this action is in. Meant to be overridden.

◆ OnExitState()

virtual void MoreMountains.Tools.AIAction.OnExitState ( )
virtual

Describes what happens when the brain exits the state this action is in. Meant to be overridden.

◆ PerformAction()

abstract void MoreMountains.Tools.AIAction.PerformAction ( )
pure virtual

Member Data Documentation

◆ _brain

AIBrain MoreMountains.Tools.AIAction._brain
protected

◆ _initialized

bool MoreMountains.Tools.AIAction._initialized
protected

◆ InitializationMode

InitializationModes MoreMountains.Tools.AIAction.InitializationMode

◆ Label

string MoreMountains.Tools.AIAction.Label

a label you can set to organize your AI Actions, not used by anything else

Property Documentation

◆ ActionInProgress

virtual bool MoreMountains.Tools.AIAction.ActionInProgress
getset

◆ ShouldInitialize

virtual bool MoreMountains.Tools.AIAction.ShouldInitialize
getprotected

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