Air-Trap 1.0.0
A multiplayer R-Type clone game engine built with C++23 and ECS architecture
Loading...
Searching...
No Matches
Shield.hpp
Go to the documentation of this file.
1/*
2** EPITECH PROJECT, 2025
3** Air-Trap
4** File description:
5** Shield component
6*/
7
8#pragma once
9
10namespace rtp::ecs::components {
11
16struct Shield {
17 int charges{1};
18};
19
20} // namespace rtp::ecs::components
File : Ammo.hpp License: MIT Author : Elias Josué HAJJAR LLAUQUEN elias-josue.hajjar-llauquen@epitech...
Definition Ammo.hpp:13
Component representing a shield that absorbs damage.
Definition Shield.hpp:16
int charges
Number of hits the shield can absorb.
Definition Shield.hpp:17