My Project
Shoot.hpp
1 /*
2 ** EPITECH PROJECT, 2022
3 ** B-CPP-500-PAR-5-1-rtype-martin.vanaud
4 ** File description:
5 ** Shoot
6 */
7 
8 #ifndef SHOOT_HPP_
9  #define SHOOT_HPP_
10 
11  #include <cstdint>
12 
16  struct packet_shoot {
17  uint16_t id;
18  };
19 
24  uint16_t orientation;
25  };
26 
27 
28 #endif /* !SHOOT_HPP_ */
packet_shoot::id
uint16_t id
id of the entity that is shooting
Definition: Shoot.hpp:17
packet_direction
A packet to handle the direction that an entity is looking at.
Definition: Shoot.hpp:23
packet_shoot
A packet to handle a bullet shot by an entity.
Definition: Shoot.hpp:16
packet_direction::orientation
uint16_t orientation
1:NORTH;2:EAST;3:SOUTH;4:WEST
Definition: Shoot.hpp:24