X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fmap%2FTile.h;h=34481f315e01119af4ff50fbc2c9ee670a6f274d;hb=acc322b16b5f31cfbc350d4fccb457c7730287fd;hp=137da43c02b30faff6ec6b92b70b98e2ef072469;hpb=667e1d9c6a78d0b608b518a4e5b5c31bc30e4e89;p=l2e.git diff --git a/src/map/Tile.h b/src/map/Tile.h index 137da43..34481f3 100644 --- a/src/map/Tile.h +++ b/src/map/Tile.h @@ -36,6 +36,8 @@ public: bool IsLadder() const { return flags & LADDER; } + int NumFrames() const { return frames; } + static void CreateTypeDescription(); static void Construct(void *); @@ -48,6 +50,7 @@ private: SDL_Surface *battlebg; math::Vector offset; int flags; + int frames; };