diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-10-07 00:12:32 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-10-07 00:12:32 +0000 |
commit | a246c08cef5e4d598fc07a681eb971bfbcf01519 (patch) | |
tree | ff1813b11379ddef2c5be627aafcf3329170a293 /src/item.cpp | |
parent | 09db562f2fca5c49fa1a92ba0b6dc60db479ae08 (diff) | |
download | mana-a246c08cef5e4d598fc07a681eb971bfbcf01519.tar.gz mana-a246c08cef5e4d598fc07a681eb971bfbcf01519.tar.bz2 mana-a246c08cef5e4d598fc07a681eb971bfbcf01519.tar.xz mana-a246c08cef5e4d598fc07a681eb971bfbcf01519.zip |
Modified finding NPC as by timonator's suggestion in order to allow NPCs to be
clicked on their heads too. Also made start to tile engine improvement by
adding the Sprite class that is now used by the floor items for being displayed
on the map. Finally added documentation to Item class and splitted out
Properties class from Map.
Diffstat (limited to 'src/item.cpp')
-rw-r--r-- | src/item.cpp | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/item.cpp b/src/item.cpp index e49de630..3cea30e5 100644 --- a/src/item.cpp +++ b/src/item.cpp @@ -21,19 +21,3 @@ * $Id$ */ -#include "item.h" -#include "resources/itemmanager.h" - -Item::Item(int id, int quantity, bool equipment, bool equipped): - id(id), quantity(quantity), equipment(equipment), equipped(equipped) -{ -} - -Item::~Item() -{ -} - -ItemInfo* Item::getInfo() -{ - return itemDb->getItemInfo(id); -} |