Corgi Engine
v9.0
|
This action performs the defined number of jumps. Look below for a breakdown of how this class works. More...
Public Member Functions | |
override void | Initialization () |
On init we grab our CharacterJump component More... | |
override void | PerformAction () |
On PerformAction we jump More... | |
override void | OnEnterState () |
When entering this state we reset our jump counter 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 | |
int | NumberOfJumps = 1 |
the number of jumps to perform while in this state More... | |
Public Attributes inherited from MoreMountains.Tools.AIAction | |
InitializationModes | InitializationMode |
whether initialization should happen only once, or every time the brain is reset More... | |
string | Label |
a label you can set to organize your AI Actions, not used by anything else More... | |
Protected Member Functions | |
virtual void | Jump () |
Calls CharacterJump's JumpStart method to initiate the jump More... | |
Protected Member Functions inherited from MoreMountains.Tools.AIAction | |
virtual void | Awake () |
On Awake we grab our AIBrain More... | |
Protected Attributes | |
CharacterJump | _characterJump |
int | _numberOfJumps = 0 |
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 } |
Properties inherited from MoreMountains.Tools.AIAction | |
virtual bool | ActionInProgress [get, set] |
virtual bool | ShouldInitialize [get] |
This action performs the defined number of jumps. Look below for a breakdown of how this class works.
|
virtual |
On init we grab our CharacterJump component
Reimplemented from MoreMountains.Tools.AIAction.
|
protectedvirtual |
Calls CharacterJump's JumpStart method to initiate the jump
|
virtual |
When entering this state we reset our jump counter
Reimplemented from MoreMountains.Tools.AIAction.
|
virtual |
On PerformAction we jump
Implements MoreMountains.Tools.AIAction.
|
protected |
|
protected |
int MoreMountains.CorgiEngine.AIActionJump.NumberOfJumps = 1 |
the number of jumps to perform while in this state