X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fmap%2FTile.h;fp=src%2Fmap%2FTile.h;h=06b3b1175b62ae315c5c5c3054e7b4e7eb051bc4;hb=0ad5ca97b5df217329bc319d62564a9f46ba11d7;hp=88db623ed0cdb5e8f24e2949f924ac3dc697b06c;hpb=3f9f41338d8100a719e161a3a1cdda9dd227e2b4;p=l2e.git diff --git a/src/map/Tile.h b/src/map/Tile.h index 88db623..06b3b11 100644 --- a/src/map/Tile.h +++ b/src/map/Tile.h @@ -28,6 +28,8 @@ public: BLOCK_WEST = 0x08, }; + SDL_Surface *BattleBackground() { return battlebg; } + const geometry::Vector &Offset() const { return offset; } bool BlocksNorth() const { return flags & BLOCK_NORTH; } @@ -41,6 +43,7 @@ public: Tile &SetFlags(Uint32 f) { flags = f; return *this; } private: + SDL_Surface *battlebg; geometry::Vector offset; Uint32 flags;