project.h 527 B

123456789101112131415161718192021222324252627282930
  1. #ifndef WALLENGINE_PROJECT_H
  2. #define WALLENGINE_PROJECT_H
  3. #include <irrlicht/irrlicht.h>
  4. #include <nlohmann/json.hpp>
  5. #include "scene.h"
  6. namespace wp
  7. {
  8. using json = nlohmann::json;
  9. class project
  10. {
  11. public:
  12. project (irr::io::path& jsonfile_path);
  13. scene* getScene ();
  14. private:
  15. json m_projectFile;
  16. std::string m_content;
  17. std::string m_title;
  18. std::string m_type;
  19. irr::io::path m_file;
  20. scene* m_scene;
  21. };
  22. };
  23. #endif //WALLENGINE_PROJECT_H