X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;ds=inline;f=src%2Fmap%2FTile.h;h=137da43c02b30faff6ec6b92b70b98e2ef072469;hb=0911d263c10cca314305799d5b839ee9653cac0b;hp=252ede3b8788be4bf8d5900be9c3498fadb4a352;hpb=a3ba4dc677ad7c92eeb78b20b642241563605c9d;p=l2e.git diff --git a/src/map/Tile.h b/src/map/Tile.h index 252ede3..137da43 100644 --- a/src/map/Tile.h +++ b/src/map/Tile.h @@ -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 *); @@ -50,4 +53,4 @@ private: } -#endif /* MAP_TILE_H_ */ +#endif