X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fgraphics%2FFrame.cpp;h=1c51c454cad056f9a56f9734e0f490426e2860d4;hb=0542849dfccfec1ce1477265fa0fee2401a8fb23;hp=c682fa0f97ca7de495b04914b2c84c03d8c34fc9;hpb=c20927cf8ab9bb7526f641850c3997f14c66f06e;p=l2e.git diff --git a/src/graphics/Frame.cpp b/src/graphics/Frame.cpp index c682fa0..1c51c45 100644 --- a/src/graphics/Frame.cpp +++ b/src/graphics/Frame.cpp @@ -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 &position, int width, int height) const { +void Frame::Draw(SDL_Surface *dest, const Vector &position, int width, int height) const { // top-left corner SDL_Rect srcRect; srcRect.x = xOffset;