]> git.localhorst.tv Git - l2e.git/blobdiff - src/map/Tile.h
added tile ladder flag
[l2e.git] / src / map / Tile.h
index f5afb246219e7d3e88faa3d06eb5980ff640076a..137da43c02b30faff6ec6b92b70b98e2ef072469 100644 (file)
@@ -22,6 +22,7 @@ public:
                BLOCK_EAST = 0x02,
                BLOCK_SOUTH = 0x04,
                BLOCK_WEST = 0x08,
+               LADDER = 0x10,
        };
 
        SDL_Surface *BattleBackground() { return battlebg; }
@@ -33,6 +34,8 @@ public:
        bool BlocksSouth() const { return flags & BLOCK_SOUTH; }
        bool BlocksWest() const { return flags & BLOCK_WEST; }
 
+       bool IsLadder() const { return flags & LADDER; }
+
        static void CreateTypeDescription();
        static void Construct(void *);