summaryrefslogtreecommitdiff
path: root/src/resources/iteminfo.h
diff options
context:
space:
mode:
authorPhilipp Sehmisch <tmw@crushnet.org>2006-11-23 22:51:42 +0000
committerPhilipp Sehmisch <tmw@crushnet.org>2006-11-23 22:51:42 +0000
commiteb6a3dfd09f88414ba1bae9ffe1cf4440db7565d (patch)
tree41015edc17e3c308d04e11c062a31f6bde028ea0 /src/resources/iteminfo.h
parent08de4c7bab768be5a583150bfabd5d6d54a29c7a (diff)
downloadmana-eb6a3dfd09f88414ba1bae9ffe1cf4440db7565d.tar.gz
mana-eb6a3dfd09f88414ba1bae9ffe1cf4440db7565d.tar.bz2
mana-eb6a3dfd09f88414ba1bae9ffe1cf4440db7565d.tar.xz
mana-eb6a3dfd09f88414ba1bae9ffe1cf4440db7565d.zip
Refectored the Itemmanager class to an ItemDB namespace.
Diffstat (limited to 'src/resources/iteminfo.h')
-rw-r--r--src/resources/iteminfo.h12
1 files changed, 5 insertions, 7 deletions
diff --git a/src/resources/iteminfo.h b/src/resources/iteminfo.h
index 9a04bb2e..e4f851bb 100644
--- a/src/resources/iteminfo.h
+++ b/src/resources/iteminfo.h
@@ -33,8 +33,6 @@ class Image;
*/
class ItemInfo
{
- friend class ItemManager;
-
public:
/**
* Constructor.
@@ -49,6 +47,11 @@ class ItemInfo
{
}
+ /**
+ * Destructor.
+ */
+ ~ItemInfo();
+
void
setArt(short art) { mArt = art; }
@@ -101,11 +104,6 @@ class ItemInfo
getSlot() const { return mSlot; }
protected:
- /**
- * Destructor.
- */
- ~ItemInfo();
-
std::string mImageName;
/* TODO (BL): I do not think the item info should keep a reference to