#include <HealthComponent.hpp>
Definition at line 21 of file HealthComponent.hpp.
§ HealthComponent()
gk::HealthComponent::HealthComponent |
( |
const u16 |
maxLife, |
|
|
const u16 |
life = 0 , |
|
|
const u16 |
hurtTime = 0 |
|
) |
| |
|
inline |
§ addLife()
void gk::HealthComponent::addLife |
( |
const u16 |
lifeAdded | ) |
|
|
inline |
§ hurtTimer()
Timer gk::HealthComponent::hurtTimer |
( |
| ) |
|
|
inline |
§ life()
u16 gk::HealthComponent::life |
( |
| ) |
const |
|
inline |
§ maxLife()
u16 gk::HealthComponent::maxLife |
( |
| ) |
const |
|
inline |
§ removeLife()
void gk::HealthComponent::removeLife |
( |
const u16 |
lifeRemoved | ) |
|
|
inline |
§ setLife()
void gk::HealthComponent::setLife |
( |
const u16 |
newLife | ) |
|
|
inline |
§ m_hurtTime
const u16 gk::HealthComponent::m_hurtTime = 0 |
|
private |
§ m_hurtTimer
Timer gk::HealthComponent::m_hurtTimer |
|
private |
§ m_life
u16 gk::HealthComponent::m_life = 0 |
|
private |
§ m_maxLife
const u16 gk::HealthComponent::m_maxLife = 0 |
|
private |
The documentation for this class was generated from the following file: