Wip: working on add scenery
This commit is contained in:
+11
-10
@@ -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);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user