summaryrefslogtreecommitdiff
path: root/src/resources/iteminfo.cpp
diff options
context:
space:
mode:
authorYohann Ferreira <bertram@cegetel.net>2005-08-25 22:36:51 +0000
committerYohann Ferreira <bertram@cegetel.net>2005-08-25 22:36:51 +0000
commitba5c32ee9c5c57613ec678d47c3871e9ea312402 (patch)
treed33acb84348eb0acad268af1db9213f9dd46f21b /src/resources/iteminfo.cpp
parent0de989625ed27003420ca3bd6a55183901564fbb (diff)
downloadmana-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.cpp10
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;