Wip: working on add scenery

This commit is contained in:
Timothy O'Barr
2026-09-01 16:27:01 -05:00
parent 15f0e369b2
commit 668d416256
7 changed files with 138 additions and 71 deletions
+11 -10
View File
@@ -1,16 +1,17 @@
#pragma once
#include <iostream>
#include <iomanip>
#include <iostream>
#include "object.h"
class Scenery : Object
{
private:
bool containsItem;
public:
Scenery();
void Examine();
void Interact();
~Scenery();
class Scenery : public Object {
public:
Scenery();
Scenery(int i, std::string n, std::string desc, std::vector<std::string> k, ObjectType t, bool cT, int rID);
void Examine();
void Interact() override;
friend void from_json(const nlohmann::json &j, Scenery &s);
friend void to_json(json &j, const Scenery &s);
};