Base interface for all ECS components.
Component that holds the path to a Lua script for entity behavior.
ComponentType getType() const override
Get the unique type identifier for this component.
~LuaScript() override=default
void setScriptPath(const std::string &scriptPath)
Set the path to the Lua script.
const std::string & getScriptPath() const
Get the path to the Lua script.
LuaScript()
Default constructor. Initializes with an empty script path.
LuaScript(const std::string &scriptPath)
Constructor with script path.
Maximum number of distinct component types supported by the Registry.
std::size_t ComponentType
Type alias for component identification.