]> git.localhorst.tv Git - l2e.git/blobdiff - src/graphics/Frame.cpp
merged Point into Vector
[l2e.git] / src / graphics / Frame.cpp
index ac394d195a97799b20d9f0604fa21b2315597ba0..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, 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;