Scene.h 388 B

123456789101112131415161718192021222324
  1. #ifndef WALLENGINE_SCENE_H
  2. #define WALLENGINE_SCENE_H
  3. #include <iostream>
  4. #include <irrlicht/irrlicht.h>
  5. #include <nlohmann/json.hpp>
  6. #include "Object.h"
  7. using json = nlohmann::json;
  8. class Scene
  9. {
  10. public:
  11. Scene(irr::io::path file);
  12. private:
  13. irr::io::path m_file;
  14. std::string m_content;
  15. std::vector<Object*> m_objects;
  16. json m_json;
  17. };
  18. #endif //WALLENGINE_SCENE_H