hydrangea/include/Types.hpp

9 lines
232 B
C++

#include <bitset>
#include <cstdint>
// ECS
using Entity = std::uint32_t;
const Entity MAX_ENTITIES = 5000;
using ComponentType = std::uint8_t;
const ComponentType MAX_COMPONENTS = 32;
using Signature = std::bitset<MAX_COMPONENTS>;