My Project
CPosition.hpp
1 /*
2 ** EPITECH PROJECT, 2022
3 ** B-CPP-500-PAR-5-1-rtype-martin.vanaud
4 ** File description:
5 ** Position
6 */
7 
8 #ifndef CPOSITION_HPP_
9  #define CPOSITION_HPP_
10 
14 namespace component {
18  struct cposition_t {
19  float x;
20  float y;
21  };
22 }
23 
24 #endif /* !CPOSITION_HPP_ */
component::cposition_t
A structure representing the position component that holds the position of an entity.
Definition: CPosition.hpp:18
component::cposition_t::x
float x
position x of the entity
Definition: CPosition.hpp:19
component
Namespace for all components.
Definition: CDamage.hpp:14
component::cposition_t::y
float y
position y of the entity
Definition: CPosition.hpp:20