My Project
CRef.hpp
1 /*
2 ** EPITECH PROJECT, 2022
3 ** B-CPP-500-PAR-5-1-rtype-martin.vanaud
4 ** File description:
5 ** CRef
6 */
7 
8 #ifndef CREF_HPP_
9  #define CREF_HPP_
10 
11  #include <string>
12  #include <map>
13  #include <vector>
14 
18 namespace component {
22  struct cref_t {
23  std::map<std::string, Entity> ref;
24  };
25 }
26 
27 #endif /* !CREF_HPP_ */
component
Namespace for all components.
Definition: CDamage.hpp:14
component::cref_t
A structure representing the ref component that holds the ref of an entity text or button.
Definition: CRef.hpp:22
component::cref_t::ref
std::map< std::string, Entity > ref
ref of the entity
Definition: CRef.hpp:23