]> git.localhorst.tv Git - l2e.git/blobdiff - src/map/Tile.h
renamed namespace geometry -> math
[l2e.git] / src / map / Tile.h
index 84c740a61c8d527d5393de753773315903362803..252ede3b8788be4bf8d5900be9c3498fadb4a352 100644 (file)
@@ -1,7 +1,7 @@
 #ifndef MAP_TILE_H_
 #define MAP_TILE_H_
 
-#include "../geometry/Vector.h"
+#include "../math/Vector.h"
 
 #include <SDL.h>
 
@@ -26,7 +26,7 @@ public:
 
        SDL_Surface *BattleBackground() { return battlebg; }
 
-       const geometry::Vector<int> &Offset() const { return offset; }
+       const math::Vector<int> &Offset() const { return offset; }
 
        bool BlocksNorth() const { return flags & BLOCK_NORTH; }
        bool BlocksEast() const { return flags & BLOCK_EAST; }
@@ -38,12 +38,12 @@ public:
 
 // temporary setters
 public:
-       Tile &SetOffset(const geometry::Vector<int> &o) { offset = o; return *this; }
+       Tile &SetOffset(const math::Vector<int> &o) { offset = o; return *this; }
        Tile &SetFlags(Uint32 f) { flags = f; return *this; }
 
 private:
        SDL_Surface *battlebg;
-       geometry::Vector<int> offset;
+       math::Vector<int> offset;
        int flags;
 
 };