]> git.localhorst.tv Git - l2e.git/blobdiff - src/graphics/Frame.h
merged Point into Vector
[l2e.git] / src / graphics / Frame.h
index d2e8dd4c02a868d0946d2f243865246a219db0db..74ce1f7600e18198bf4ad5ed46a97df6b6d6860f 100644 (file)
@@ -8,7 +8,7 @@
 #ifndef GRAPHICS_FRAME_H_
 #define GRAPHICS_FRAME_H_
 
-#include "../geometry/Point.h"
+#include "../geometry/Vector.h"
 
 #include <SDL.h>
 
@@ -25,7 +25,7 @@ public:
        int MinHeight() const { return 2 * borderHeight; }
        int BorderWidth() const { return borderWidth; }
        int BorderHeight() const { return borderHeight; }
-       void Draw(SDL_Surface *dest, const geometry::Point<int> &position, int width, int height) const;
+       void Draw(SDL_Surface *dest, const geometry::Vector<int> &position, int width, int height) const;
 
 private:
        SDL_Surface *surface;