Object.h 376 B

1234567891011121314151617181920212223242526
  1. #ifndef WALLENGINE_OBJECT_H
  2. #define WALLENGINE_OBJECT_H
  3. #include <iostream>
  4. #include <irrlicht/irrlicht.h>
  5. #include <nlohmann/json.hpp>
  6. using json = nlohmann::json;
  7. class Object
  8. {
  9. public:
  10. Object (json json_data);
  11. private:
  12. int m_id;
  13. bool m_visible;
  14. std::string m_model;
  15. std::string m_angles;
  16. std::string m_image;
  17. };
  18. #endif //WALLENGINE_OBJECT_H