move output factors to Scene class

This commit is contained in:
Shuo Feng 2024-02-01 18:42:40 -05:00
parent 8550abf235
commit baea2db514
Signed by: sfeng
GPG key ID: 1E83AE6CD1C037B1
2 changed files with 41 additions and 0 deletions

23
src/Scene.h Normal file
View file

@ -0,0 +1,23 @@
#ifndef SCENE_H_
#define SCENE_H_
#include "../external/json.hpp"
#include <string>
using std::string;
class Scene {
public:
Scene(const nlohmann::json &);
string getName();
int getWidth();
int getHeight();
private:
string name;
int width;
int height;
};
#endif // !SCENE_H_