diff options
author | Your Name <you@example.com> | 2021-05-18 16:26:49 -0400 |
---|---|---|
committer | Your Name <you@example.com> | 2021-05-18 16:26:49 -0400 |
commit | 38e33d8756a5b652965be8ada478b5c4238b857c (patch) | |
tree | d4e3b166103c4c0cc8d3a4ed963333a2982bb366 /src/entry.h | |
parent | e044fc4255aa64ef1dbc3d20ed87ed6e2f61a6bd (diff) | |
download | dmtool-38e33d8756a5b652965be8ada478b5c4238b857c.tar.gz dmtool-38e33d8756a5b652965be8ada478b5c4238b857c.tar.bz2 dmtool-38e33d8756a5b652965be8ada478b5c4238b857c.zip |
Added spellcasting command
Diffstat (limited to 'src/entry.h')
-rw-r--r-- | src/entry.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/entry.h b/src/entry.h index 56fc884..9e00798 100644 --- a/src/entry.h +++ b/src/entry.h @@ -10,6 +10,9 @@ namespace creature { namespace entry { class Entry { public: + Entry() {} + // Also can be created programmatically + Entry(const std::string& entry, const std::string& name, const std::string& type, const std::string& text) : entry(entry), name(name), type(type), text(text) {} static std::shared_ptr<Entry> create(const nlohmann::json& data); virtual ~Entry() {} |