renderpip/include/components/common.hpp

25 lines
345 B
C++
Raw Normal View History

2026-04-02 03:41:50 -04:00
/**
* @file common.hpp
* @brief Common/utility components
*/
#pragma once
#include <string>
struct Name {
std::string value;
};
// Tag component - empty struct marks entities for destruction
struct ToDestroy {};
struct Lifetime {
float remaining = 0.0f;
};
struct Health {
float current = 100.0f;
float max = 100.0f;
};