Air-Trap 1.0.0
A multiplayer R-Type clone game engine built with C++23 and ECS architecture
Loading...
Searching...
No Matches
rtp::ecs::components::Health Struct Reference

Component representing an entity's health. More...

#include <Health.hpp>

Collaboration diagram for rtp::ecs::components::Health:

Public Attributes

int currentHealth {100}
 Current health value.
 
int maxHealth {100}
 Maximum health value.
 

Detailed Description

Component representing an entity's health.

Definition at line 15 of file Health.hpp.

Member Data Documentation

◆ currentHealth

int rtp::ecs::components::Health::currentHealth {100}

Current health value.

Definition at line 16 of file Health.hpp.

◆ maxHealth

int rtp::ecs::components::Health::maxHealth {100}

Maximum health value.

Definition at line 17 of file Health.hpp.


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