diff options
author | Yohann Ferreira <bertram@cegetel.net> | 2005-08-25 22:36:51 +0000 |
---|---|---|
committer | Yohann Ferreira <bertram@cegetel.net> | 2005-08-25 22:36:51 +0000 |
commit | ba5c32ee9c5c57613ec678d47c3871e9ea312402 (patch) | |
tree | d33acb84348eb0acad268af1db9213f9dd46f21b /src/resources/iteminfo.cpp | |
parent | 0de989625ed27003420ca3bd6a55183901564fbb (diff) | |
download | mana-ba5c32ee9c5c57613ec678d47c3871e9ea312402.tar.gz mana-ba5c32ee9c5c57613ec678d47c3871e9ea312402.tar.bz2 mana-ba5c32ee9c5c57613ec678d47c3871e9ea312402.tar.xz mana-ba5c32ee9c5c57613ec678d47c3871e9ea312402.zip |
Added items effect description support. TODO: Display it in buy/sell/inventory/equip windows.
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; |