8#ifndef GALAXY_SCENE_WORLD_HPP_
9#define GALAXY_SCENE_WORLD_HPP_
84 void load_app(const std::string& appdata_file);
91 void save_app(const std::string& file);
99 nlohmann::json serialize() override;
106 void deserialize(const nlohmann::json& json) override;
Wrapper around entt::registry to expand functionality.
Scene, Entity and global game management.
void clear()
Removes all data.
World() noexcept
Constructor.
void render()
Render scenes.
virtual ~World()
Destructor.
World & operator=(World &&)
Move assignment operator.
World & operator=(const World &)=delete
Copy assignment operator.
void update() override
Process events and updates.
World(const World &)=delete
Copy constructor.
Registry m_registry
Entity data.