Air-Trap 1.0.0
A multiplayer R-Type clone game engine built with C++23 and ECS architecture
Loading...
Searching...
No Matches
Health.hpp
Go to the documentation of this file.
1/*
2** EPITECH PROJECT, 2025
3** Air-Trap
4** File description:
5** Health
6*/
7
8#pragma once
9
10namespace rtp::ecs::components {
15struct Health {
16 int currentHealth{100};
17 int maxHealth{100};
18};
19} // 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 an entity's health.
Definition Health.hpp:15
int currentHealth
Current health value.
Definition Health.hpp:16
int maxHealth
Maximum health value.
Definition Health.hpp:17