diff options
Diffstat (limited to 'src/resources/iteminfo.cpp')
-rw-r--r-- | src/resources/iteminfo.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/resources/iteminfo.cpp b/src/resources/iteminfo.cpp index bceeffef..e23be049 100644 --- a/src/resources/iteminfo.cpp +++ b/src/resources/iteminfo.cpp @@ -70,6 +70,16 @@ std::string ItemInfo::getDescription() return description; } +void ItemInfo::setEffect(const std::string &effect) +{ + this->effect = effect; +} + +std::string ItemInfo::getEffect() +{ + return effect; +} + void ItemInfo::setType(short type) { this->type = type; |