Loading...
Searching...
No Matches
AdventureSouls.SoulsStamina Class Reference

Detailed Description

special kind of refilling resource
empties when the movement is sprinting
stops refilling when the character is acting

https://adventure.softleitner.com/manual/resource

Inheritance diagram for AdventureSouls.SoulsStamina:
AdventureCore.ResourceValue

Public Attributes

CharacterActorBase Actor
 
CharacterControllerMovement Movement
 
float RunningRate
 
float RecoveryRate
 
float RecoveryLag
 
CharacterActionBase[] RecoveryActions
 
- Public Attributes inherited from AdventureCore.ResourceValue
ResourceType Type
 
float Maximum
 
float Value
 
UnityEvent< float > Changed
 
UnityEvent< float > MaximumChanged
 

Protected Member Functions

override void Update ()
 
virtual bool checkRecovering ()
 
virtual bool checkSprinting ()
 
- Protected Member Functions inherited from AdventureCore.ResourceValue
virtual void Awake ()
 
virtual float applyCaps (float value)
 
virtual void onValueChanged ()
 
virtual void onMaximumChanged ()
 

Additional Inherited Members

- Public Member Functions inherited from AdventureCore.ResourceValue
virtual bool Change (float value, Object source=null)
 
virtual bool Set (float value, Object source=null)
 
virtual bool ResetValue ()
 
virtual void SetMaximum (float value, Object source=null)
 
override string ToString ()
 
- Properties inherited from AdventureCore.ResourceValue
float Ratio [get]
 
ResourcePool Pool [get, set]
 

Member Function Documentation

◆ Update()

override void AdventureSouls.SoulsStamina.Update ( )
inlineprotectedvirtual

Reimplemented from AdventureCore.ResourceValue.