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::Shield Struct Reference

Component representing a shield that absorbs damage. More...

#include <Shield.hpp>

Collaboration diagram for rtp::ecs::components::Shield:

Public Attributes

int charges {1}
 Number of hits the shield can absorb.
 

Detailed Description

Component representing a shield that absorbs damage.

Definition at line 16 of file Shield.hpp.

Member Data Documentation

◆ charges

int rtp::ecs::components::Shield::charges {1}

Number of hits the shield can absorb.

Definition at line 17 of file Shield.hpp.


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