diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-05-11 15:53:04 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-05-11 15:53:04 +0300 |
commit | 20310ca4fa87856a2ac487ce70835384759b979b (patch) | |
tree | def18e2377c2f61f2d665f61b181cc53fc6b14a9 /src/resources/map/maplayer.h | |
parent | 50e0557d790ac007c2db63509b7beed6f8d15b1e (diff) | |
download | mv-20310ca4fa87856a2ac487ce70835384759b979b.tar.gz mv-20310ca4fa87856a2ac487ce70835384759b979b.tar.bz2 mv-20310ca4fa87856a2ac487ce70835384759b979b.tar.xz mv-20310ca4fa87856a2ac487ce70835384759b979b.zip |
Move objectslayer into separate file.
Diffstat (limited to 'src/resources/map/maplayer.h')
-rw-r--r-- | src/resources/map/maplayer.h | 21 |
1 files changed, 0 insertions, 21 deletions
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 |