![]() |
R-Type
2
Doom but in better
|
Represents the health of an entity, including current and maximum health values. More...
#include <Health.hpp>
Data Fields | |
int | current |
int | max |
Represents the health of an entity, including current and maximum health values.
This structure is used to track the health of an entity, with a current health value that can change during gameplay and a fixed maximum health value that defines the upper limit of the entity's health.
Definition at line 10 of file Health.hpp.
int Health::current |
The current health value of the entity.
Definition at line 11 of file Health.hpp.
int Health::max |
The maximum health value of the entity.
Definition at line 12 of file Health.hpp.