game-engine/libs/ecs/component.hpp
2024-10-09 13:34:54 -04:00

13 lines
234 B
C++

#ifndef COMPONENT_HPP
#define COMPONENT_HPP
#include <bitset>
#include <cstdint>
using ComponentType = std::uint8_t;
const ComponentType MAX_COMPONENTS = 32;
using Signature = std::bitset<MAX_COMPONENTS>;
#endif // COMPONENT_HPP