linux-wallpaperengine/wallpaperengine/Object.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

27 lines
376 B
C++

#ifndef WALLENGINE_OBJECT_H
#define WALLENGINE_OBJECT_H
#include <iostream>
#include <irrlicht/irrlicht.h>
#include <nlohmann/json.hpp>
using json = nlohmann::json;
class Object
{
public:
Object (json json_data);
private:
int m_id;
bool m_visible;
std::string m_model;
std::string m_angles;
std::string m_image;
};
#endif //WALLENGINE_OBJECT_H