From 38e33d8756a5b652965be8ada478b5c4238b857c Mon Sep 17 00:00:00 2001 From: Your Name Date: Tue, 18 May 2021 16:26:49 -0400 Subject: Added spellcasting command --- src/entry.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/entry.h') 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 create(const nlohmann::json& data); virtual ~Entry() {} -- cgit v1.2.3