From 20310ca4fa87856a2ac487ce70835384759b979b Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 11 May 2014 15:53:04 +0300 Subject: Move objectslayer into separate file. --- src/resources/map/maplayer.h | 21 --------------------- 1 file changed, 21 deletions(-) (limited to 'src/resources/map/maplayer.h') diff --git a/src/resources/map/maplayer.h b/src/resources/map/maplayer.h index 59e9db2b5..3656194b6 100644 --- a/src/resources/map/maplayer.h +++ b/src/resources/map/maplayer.h @@ -157,25 +157,4 @@ class MapLayer final: public ConfigListener bool mHighlightAttackRange; }; -class ObjectsLayer final -{ - public: - ObjectsLayer(const unsigned width, const unsigned height); - - A_DELETE_COPY(ObjectsLayer) - - ~ObjectsLayer(); - - void addObject(const std::string &name, const int type, - const unsigned x, const unsigned y, - unsigned dx, unsigned dy); - - MapObjectList *getAt(const unsigned x, - const unsigned y) const A_WARN_UNUSED; - private: - MapObjectList **mTiles; - unsigned mWidth; - unsigned mHeight; -}; - #endif // RESOURCES_MAP_MAPLAYER_H -- cgit v1.2.3-70-g09d2