From a631279c836ed32134397fa20da4bceda046d404 Mon Sep 17 00:00:00 2001 From: Reinder Feenstra Date: Tue, 1 Sep 2020 20:35:09 +0200 Subject: [PATCH] cleanup --- server/src/world/world.hpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/server/src/world/world.hpp b/server/src/world/world.hpp index 20e31531..53325f46 100644 --- a/server/src/world/world.hpp +++ b/server/src/world/world.hpp @@ -63,7 +63,6 @@ class World : public Object std::unordered_map> m_objects; void event(WorldEvent event); - //void load(); nlohmann::json saveObject(const ObjectPtr& object); @@ -73,7 +72,6 @@ class World : public Object static constexpr std::string_view filename = "traintastic.json"; static std::shared_ptr create(); - //static std::shared_ptr load(const std::filesystem::path& filename); Property name; Property scale; @@ -102,7 +100,6 @@ class World : public Object const boost::uuids::uuid& uuid() const { return m_uuid; } std::string getUniqueId(const std::string& prefix) const; - //ObjectPtr createObject(const std::string& classId, std::string_view _id = ""); bool isObject(const std::string&_id) const; ObjectPtr getObject(const std::string& _id) const; };