R-Type  2
Doom but in better
Loading...
Searching...
No Matches
Health Struct Reference

Represents the health of an entity, including current and maximum health values. More...

#include <Health.hpp>

Collaboration diagram for Health:
Collaboration graph

Data Fields

int current
 
int max
 

Detailed Description

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.

Field Documentation

◆ current

int Health::current

The current health value of the entity.

Definition at line 11 of file Health.hpp.

◆ max

int Health::max

The maximum health value of the entity.

Definition at line 12 of file Health.hpp.


The documentation for this struct was generated from the following file: