summaryrefslogtreecommitdiff
path: root/src/flooritemmanager.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/flooritemmanager.h')
-rw-r--r--src/flooritemmanager.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/flooritemmanager.h b/src/flooritemmanager.h
index 704b39fd..725eb10c 100644
--- a/src/flooritemmanager.h
+++ b/src/flooritemmanager.h
@@ -32,14 +32,14 @@ class FloorItemManager
public:
~FloorItemManager();
- FloorItem* create(int id, int itemId, int x, int y, Map *map);
+ FloorItem *create(int id, int itemId, int x, int y);
void destroy(FloorItem *item);
void clear();
- FloorItem* findById(int id);
- FloorItem* findByCoordinates(int x, int y);
+ FloorItem *findById(int id) const;
+ FloorItem *findByCoordinates(int x, int y) const;
private:
typedef std::list<FloorItem*> FloorItems;