summaryrefslogtreecommitdiff
path: root/src/maplayer.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-09-16 22:06:21 +0300
committerAndrei Karas <akaras@inbox.ru>2013-09-16 22:18:16 +0300
commite3ce2827f14efc6630a4c2932b60e23d9b0321b0 (patch)
tree3919c09ad3461b934d92daf95051e22eb8c6f20d /src/maplayer.h
parentf5eba43704cfda82cff4229aecf6ebce99029bda (diff)
downloadmv-e3ce2827f14efc6630a4c2932b60e23d9b0321b0.tar.gz
mv-e3ce2827f14efc6630a4c2932b60e23d9b0321b0.tar.bz2
mv-e3ce2827f14efc6630a4c2932b60e23d9b0321b0.tar.xz
mv-e3ce2827f14efc6630a4c2932b60e23d9b0321b0.zip
read map layers based on layer types.
Diffstat (limited to 'src/maplayer.h')
-rw-r--r--src/maplayer.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/maplayer.h b/src/maplayer.h
index a994ab4bc..410be05fa 100644
--- a/src/maplayer.h
+++ b/src/maplayer.h
@@ -87,6 +87,13 @@ class MapObjectList final
class MapLayer final: public ConfigListener
{
public:
+ enum Type
+ {
+ TILES,
+ COLLISION,
+ HEIGHTS
+ };
+
friend class Map;
/**