aboutsummaryrefslogtreecommitdiff
path: root/src/feature.h
blob: f3073d8608370be7cb0942bec4173e97724ac322 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#pragma once
#include "json.hpp"
#include "entry.h"
#include <memory>

namespace entry {
    class Feature : public Entry {
        public:
            static std::shared_ptr<Feature> create(const nlohmann::json& data);

        protected:
            Feature(const nlohmann::json& data) : Entry(data) {};
    };

    //std::string genText(const Feature& f, const creature::Creature& c);
}