59 const char *
what(
void)
const noexcept override;
90 template<
typename ComponentType>
static std::size_t
get(
void)
92 static const std::size_t
id = nextId();
103 static std::size_t nextId(
void);
Gives each component type a small number: its bit position in an Entity::Signature.
static std::size_t get(void)
Get the number of a component type, assigning one on the first call for that type.
const char * what(void) const noexcept override
Get the exception message.
ComponentTypeLimitExceededException(void)
Build the exception with its fixed message.
The entity-component-system core, independent of any widget.
constexpr std::size_t MaxComponentTypes
Maximum number of distinct component types in one program.