16 using id =
unsigned int;
28 [[nodiscard]]
virtual std::string &
getName() = 0;
29 [[nodiscard]]
virtual id getId()
const = 0;
32 virtual void setName(
const std::string &newName) = 0;
54 [[nodiscard]]
id getId()
const override {
return m_id; }
This file contains the Registry class declaration.
Class for managing entities and their components.
id getId() const override
std::string & getName() override
AScene & operator=(AScene &&other)=delete
ecs::Registry & getRegistry() override
AScene(AScene &&other)=delete
void setName(const std::string &newName) override
AScene & operator=(const AScene &other)=delete
~AScene() override=default
AScene(const AScene &other)=delete
interface class for scene
virtual ecs::Registry & getRegistry()=0
virtual void setName(const std::string &newName)=0
virtual ~IScene()=default
virtual id getId() const =0
virtual void update(float dt)=0
virtual std::string & getName()=0