summaryrefslogtreecommitdiff
path: root/src/resources/map/maplayer.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-05-11 15:17:30 +0300
committerAndrei Karas <akaras@inbox.ru>2014-05-11 15:17:30 +0300
commit788f91b8b779a3b99cf4a7f8f53488f45b2edc09 (patch)
tree9d9027582877b443bdd872a25de3796b8987cf30 /src/resources/map/maplayer.h
parent211aab93fed3462f875b66c3aecf0bfc98c3467a (diff)
downloadplus-788f91b8b779a3b99cf4a7f8f53488f45b2edc09.tar.gz
plus-788f91b8b779a3b99cf4a7f8f53488f45b2edc09.tar.bz2
plus-788f91b8b779a3b99cf4a7f8f53488f45b2edc09.tar.xz
plus-788f91b8b779a3b99cf4a7f8f53488f45b2edc09.zip
Move speciallayer into separate file.
Diffstat (limited to 'src/resources/map/maplayer.h')
-rw-r--r--src/resources/map/maplayer.h32
1 files changed, 0 insertions, 32 deletions
diff --git a/src/resources/map/maplayer.h b/src/resources/map/maplayer.h
index a631932b6..653009b40 100644
--- a/src/resources/map/maplayer.h
+++ b/src/resources/map/maplayer.h
@@ -158,38 +158,6 @@ class MapLayer final: public ConfigListener
bool mHighlightAttackRange;
};
-class SpecialLayer final
-{
- public:
- friend class Map;
- friend class MapLayer;
-
- SpecialLayer(const int width, const int height);
-
- A_DELETE_COPY(SpecialLayer)
-
- ~SpecialLayer();
-
- void draw(Graphics *const graphics, int startX, int startY,
- int endX, int endY,
- const int scrollX, const int scrollY) const;
-
- MapItem* getTile(const int x, const int y) const A_WARN_UNUSED;
-
- void setTile(const int x, const int y, MapItem *const item);
-
- void setTile(const int x, const int y, const int type);
-
- void addRoad(const Path &road);
-
- void clean() const;
-
- private:
- int mWidth;
- int mHeight;
- MapItem **mTiles;
-};
-
class MapItem final
{
public: