summaryrefslogtreecommitdiff
path: root/src/resources/itemmanager.h
diff options
context:
space:
mode:
authorEugenio Favalli <elvenprogrammer@gmail.com>2005-04-21 15:36:49 +0000
committerEugenio Favalli <elvenprogrammer@gmail.com>2005-04-21 15:36:49 +0000
commit56fef6eed9e3145b5e7d33e066069f642873d7a1 (patch)
tree10ee9c20bfa294abbbb2b96901bc0b2830007288 /src/resources/itemmanager.h
parent9db3ea6a43d78bc959eef9fd594141d3a4063c0b (diff)
downloadmana-56fef6eed9e3145b5e7d33e066069f642873d7a1.tar.gz
mana-56fef6eed9e3145b5e7d33e066069f642873d7a1.tar.bz2
mana-56fef6eed9e3145b5e7d33e066069f642873d7a1.tar.xz
mana-56fef6eed9e3145b5e7d33e066069f642873d7a1.zip
trying to follow Hammerbear suggestions
Diffstat (limited to 'src/resources/itemmanager.h')
-rw-r--r--src/resources/itemmanager.h17
1 files changed, 1 insertions, 16 deletions
diff --git a/src/resources/itemmanager.h b/src/resources/itemmanager.h
index 3f014ad6..b4c98e5b 100644
--- a/src/resources/itemmanager.h
+++ b/src/resources/itemmanager.h
@@ -45,26 +45,11 @@ class ItemManager
*/
~ItemManager();
- short getImage(int id);
+ ItemInfo *getItemInfo(int id);
- short getArt(int id);
-
- std::string getName(int id);
-
- std::string getDescription(int id);
-
- short getType(int id);
-
- short getWeight(int id);
-
- char getSlot(int id);
-
-
protected:
// Items database
std::map <int, ItemInfo *> db;
- int minId, maxId;
-
};
#endif