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
10
namespace
rtp::ecs::components
{
15
struct
Health
{
16
int
currentHealth
{100};
17
int
maxHealth
{100};
18
};
19
}
// namespace rtp::ecs::components
rtp::ecs::components
File : Ammo.hpp License: MIT Author : Elias Josué HAJJAR LLAUQUEN elias-josue.hajjar-llauquen@epitech...
Definition
Ammo.hpp:13
rtp::ecs::components::Health
Component representing an entity's health.
Definition
Health.hpp:15
rtp::ecs::components::Health::currentHealth
int currentHealth
Current health value.
Definition
Health.hpp:16
rtp::ecs::components::Health::maxHealth
int maxHealth
Maximum health value.
Definition
Health.hpp:17
common
include
RType
ECS
Components
Health.hpp
Generated by
1.9.8