My Project
CHitBox.hpp
1 /*
2 ** EPITECH PROJECT, 2022
3 ** R-Type
4 ** File description:
5 ** Created by casimir,
6 */
7 
8 #ifndef R_TYPE_CHITBOX_HPP
9  #define R_TYPE_CHITBOX_HPP
10 
14 namespace component {
18  struct chitbox_t {
19  size_t height;
20  size_t width;
21  };
22 }
23 
24 #endif //R_TYPE_CHITBOX_HPP
component::chitbox_t
A structure representing the hitbox component that holds the hitbox of the entity.
Definition: CHitBox.hpp:18
component
Namespace for all components.
Definition: CDamage.hpp:14
component::chitbox_t::height
size_t height
height of the hitbox of the entity
Definition: CHitBox.hpp:19
component::chitbox_t::width
size_t width
width of the hitbox of the entity
Definition: CHitBox.hpp:20