My Project
CHealth.hpp
1 /*
2 ** EPITECH PROJECT, 2022
3 ** B-CPP-500-PAR-5-1-rtype-martin.vanaud
4 ** File description:
5 ** CHealth
6 */
7 
8 #ifndef CHEALTH_HPP_
9  #define CHEALTH_HPP_
10 
14 namespace component {
18  struct chealth_t {
19  int health;
20  };
21 }
22 
23 #endif /* !CHEALTH_HPP_ */
component::chealth_t
A structure representing the health component that holds the healt of the entity.
Definition: CHealth.hpp:18
component
Namespace for all components.
Definition: CDamage.hpp:14
component::chealth_t::health
int health
health of the entity
Definition: CHealth.hpp:19