|
| void | init () override |
| |
| void | update (uint_fast16_t diffTime) override |
| |
| void | addEffect (uint32_t duration, std::function< void()> resetFunction) |
| | Add a stat effect to the entity.
|
| |
◆ addEffect()
| void StatEffectsComponent::addEffect |
( |
uint32_t | duration, |
|
|
std::function< void()> | resetFunction ) |
Add a stat effect to the entity.
- Parameters
-
| duration | The duration of the effect in milliseconds |
| resetFunction | The function to reset the effect, will be called on expiry of duration |
◆ init()
| void StatEffectsComponent::init |
( |
| ) |
|
|
overridevirtual |
◆ update()
| void StatEffectsComponent::update |
( |
uint_fast16_t | diffTime | ) |
|
|
overridevirtual |
The documentation for this class was generated from the following files: