Corgi Engine  v8.8
MoreMountains.CorgiEngine.AIActionMoveAwayFromTarget Class Reference

This action directs the CharacterHorizontalMovement ability to move away from the target. More...

Inheritance diagram for MoreMountains.CorgiEngine.AIActionMoveAwayFromTarget:
MoreMountains.CorgiEngine.AIActionMoveTowardsTarget MoreMountains.Tools.AIAction

Protected Member Functions

override void Move ()
 Moves the character in the decided direction More...
 
- Protected Member Functions inherited from MoreMountains.Tools.AIAction
virtual void Awake ()
 On Awake we grab our AIBrain More...
 

Additional Inherited Members

- Public Types inherited from MoreMountains.Tools.AIAction
enum  InitializationModes { InitializationModes.EveryTime, InitializationModes.OnlyOnce }
 
- Public Member Functions inherited from MoreMountains.CorgiEngine.AIActionMoveTowardsTarget
override void Initialization ()
 On init we grab our CharacterHorizontalMovement ability More...
 
override void PerformAction ()
 On PerformAction we move More...
 
override void OnEnterState ()
 When entering the state we reset our movement. More...
 
override void OnExitState ()
 When exiting the state we reset our movement. More...
 
- Public Attributes inherited from MoreMountains.CorgiEngine.AIActionMoveTowardsTarget
float MinimumDistance = 1f
 The minimum distance to the target that this Character can reach. 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 inherited from MoreMountains.CorgiEngine.AIActionMoveTowardsTarget
CharacterHorizontalMovement _characterHorizontalMovement
 
- 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

This action directs the CharacterHorizontalMovement ability to move away from the target.

Member Function Documentation

◆ Move()

override void MoreMountains.CorgiEngine.AIActionMoveAwayFromTarget.Move ( )
protectedvirtual

Moves the character in the decided direction

Reimplemented from MoreMountains.CorgiEngine.AIActionMoveTowardsTarget.


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