linux-wallpaperengine/wallpaperengine/Scene.h
Alexis Maiquez c8534b9a6e + Support for json parsing and basic wallpaperengine json deserialization and loading
Signed-off-by: Alexis Maiquez Murcia <almamu@almamu.com>
2018-07-06 01:59:39 +02:00

25 lines
388 B
C++

#ifndef WALLENGINE_SCENE_H
#define WALLENGINE_SCENE_H
#include <iostream>
#include <irrlicht/irrlicht.h>
#include <nlohmann/json.hpp>
#include "Object.h"
using json = nlohmann::json;
class Scene
{
public:
Scene(irr::io::path file);
private:
irr::io::path m_file;
std::string m_content;
std::vector<Object*> m_objects;
json m_json;
};
#endif //WALLENGINE_SCENE_H