X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fmap%2FTile.h;h=f5afb246219e7d3e88faa3d06eb5980ff640076a;hb=7011e3c622be7d4f24c0166a1ad5aeb4f8c5f851;hp=43f9dbb8e9b11a2939a7ea28d6ff32074d8aa5fd;hpb=1907ca03c5e865c4d398170042aa384c67ffff29;p=l2e.git diff --git a/src/map/Tile.h b/src/map/Tile.h index 43f9dbb..f5afb24 100644 --- a/src/map/Tile.h +++ b/src/map/Tile.h @@ -1,14 +1,7 @@ -/* - * Tile.h - * - * Created on: Sep 29, 2012 - * Author: holy - */ - #ifndef MAP_TILE_H_ #define MAP_TILE_H_ -#include "../geometry/Vector.h" +#include "../math/Vector.h" #include @@ -33,7 +26,7 @@ public: SDL_Surface *BattleBackground() { return battlebg; } - const geometry::Vector &Offset() const { return offset; } + const math::Vector &Offset() const { return offset; } bool BlocksNorth() const { return flags & BLOCK_NORTH; } bool BlocksEast() const { return flags & BLOCK_EAST; } @@ -45,16 +38,16 @@ public: // temporary setters public: - Tile &SetOffset(const geometry::Vector &o) { offset = o; return *this; } + Tile &SetOffset(const math::Vector &o) { offset = o; return *this; } Tile &SetFlags(Uint32 f) { flags = f; return *this; } private: SDL_Surface *battlebg; - geometry::Vector offset; + math::Vector offset; int flags; }; } -#endif /* MAP_TILE_H_ */ +#endif