From 242e3bb8d92def67d5c30f2f2fd974cfb117ec04 Mon Sep 17 00:00:00 2001 From: Thorbjørn Lindeijer Date: Fri, 5 Feb 2010 22:15:43 +0100 Subject: Merged the Engine class into the Game class There was little point in keeping the Engine class separate. It wasn't an engine at all, but only kept track of the currently active map, a job more suitable for the Game class anyway. --- src/flooritemmanager.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/flooritemmanager.h') 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 FloorItems; -- cgit v1.2.3-60-g2f50