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

Inverts the direction of a patrol on PerformAction More...

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

Public Member Functions

override void Initialization ()
 On init we grab our actions More...
 
override void PerformAction ()
 Inverts the patrol direction More...
 
- Public Member Functions inherited from MoreMountains.Tools.AIAction
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

AIActionMovePatrol2D _movePatrol2D
 the AIActionMovePatrol2D to invert the patrol direction on More...
 
AIActionMovePatrol3D _movePatrol3D
 the AIActionMovePatrol3D to invert the patrol direction on 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...
 

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...
 
- Protected Attributes inherited from MoreMountains.Tools.AIAction
bool _initialized
 
AIBrain _brain
 
- Properties inherited from MoreMountains.Tools.AIAction
virtual bool ActionInProgress [get, set]
 
virtual bool ShouldInitialize [get]
 

Detailed Description

Inverts the direction of a patrol on PerformAction

Member Function Documentation

◆ Initialization()

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

On init we grab our actions

Reimplemented from MoreMountains.Tools.AIAction.

◆ PerformAction()

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

Inverts the patrol direction

Implements MoreMountains.Tools.AIAction.

Member Data Documentation

◆ _movePatrol2D

AIActionMovePatrol2D MoreMountains.TopDownEngine.AIActionInvertPatrolDirection._movePatrol2D

the AIActionMovePatrol2D to invert the patrol direction on

◆ _movePatrol3D

AIActionMovePatrol3D MoreMountains.TopDownEngine.AIActionInvertPatrolDirection._movePatrol3D

the AIActionMovePatrol3D to invert the patrol direction on


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