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