]> git.localhorst.tv Git - l2e.git/blobdiff - src/graphics/Frame.cpp
merged Point into Vector
[l2e.git] / src / graphics / Frame.cpp
index c682fa0f97ca7de495b04914b2c84c03d8c34fc9..1c51c454cad056f9a56f9734e0f490426e2860d4 100644 (file)
@@ -7,12 +7,12 @@
 
 #include "Frame.h"
 
-using geometry::Point;
+using geometry::Vector;
 
 namespace graphics {
 
 // TODO: maybe create a cache for frames?
-void Frame::Draw(SDL_Surface *dest, const Point<int> &position, int width, int height) const {
+void Frame::Draw(SDL_Surface *dest, const Vector<int> &position, int width, int height) const {
        // top-left corner
        SDL_Rect srcRect;
        srcRect.x = xOffset;