10 data = registry.create();
51 return uuids::to_string(
uuid);
static entt::registry & get()
Gets the registry for all components.
bool canTick() const
Tells you if the entity can execute its tick function.
std::string getUuidString() const
Getter for the UUID of this entity as a string.
void tick(double deltaTime) override
Executes every frame if tick is enabled.
void enableTick(bool enable)
Enables or disables ticking for this entity.
bool canEverTick() const
Tells if this entity can ever tick.
virtual void tick(double deltaTimeSeconds)
Function called each frame when a tick component has been registered with EnTT Ecs::Tick.
static UuidSingleton & instance()
Log category system implementation.
Tag for everything which wants to receive tick events.