|
R-Type
Distributed multiplayer game engine in C++
|
Individual buff with its properties. More...
#include <Buff.hpp>

Public Member Functions | |
| BuffInstance (BuffType t, float dur, float val, bool perm=false) | |
Public Attributes | |
| BuffType | type |
| Type of buff. | |
| float | duration |
| Remaining duration (0.0f = permanent) | |
| float | value |
| Buff value (multiplier or absolute value) | |
| bool | isPermanent |
| True if buff never expires. | |
| float ecs::BuffInstance::duration |
Remaining duration (0.0f = permanent)
Definition at line 43 of file Buff.hpp.
Referenced by ecs::BuffSystem::_updateBuffTimers().
| bool ecs::BuffInstance::isPermanent |
| BuffType ecs::BuffInstance::type |
Type of buff.
Definition at line 42 of file Buff.hpp.
Referenced by ecs::BuffSystem::_updateBuffTimers().
| float ecs::BuffInstance::value |