]> git.localhorst.tv Git - l2e.git/blobdiff - src/graphics/Gauge.cpp
merged Point into Vector
[l2e.git] / src / graphics / Gauge.cpp
index 027d6b1313d541cc0afc7c44ccada3abe967b224..eda9942d4cdb5697b294bf706af3749739d1a8a5 100644 (file)
@@ -7,11 +7,11 @@
 
 #include "Gauge.h"
 
-using geometry::Point;
+using geometry::Vector;
 
 namespace graphics {
 
-void Gauge::Draw(SDL_Surface *dest, const Point<int> &position, int width, Uint8 fill) const {
+void Gauge::Draw(SDL_Surface *dest, const Vector<int> &position, int width, Uint8 fill) const {
        SDL_Rect srcRect, destRect;
 
        int filledWidth = fill * (width - startWidth - endWidth) / 255;