Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions.
See the stable version of this documentation page instead.
Energy🔗
Inherits: Node
This class defines an Energy component for entities.
Properties🔗
|
||
|
||
|
||
|
Methods🔗
void |
Signals🔗
Emitted when value is changed (value > 0)
exhausted() 🔗
Emitted when value is exhausted (value == 0)
Property Descriptions🔗
The maximum energy value
void @value_setter(value: float)
The amount of energy left to consume
Wether the energy value should recharge over time based on charge_rate
The energy charge rate per second, expressed as a percentage of max_value
Method Descriptions🔗
void _process(delta: float) 🔗
There is currently no description for this method. Please help us by contributing one!