#ifndef GRAPHICS_GAUGE_H_
#define GRAPHICS_GAUGE_H_
-#include "../geometry/Point.h"
+#include "../geometry/Vector.h"
#include <SDL.h>
public:
int MinWidth() const { return startWidth + endWidth; }
int Height() const { return height; }
- void Draw(SDL_Surface *dest, geometry::Point<int> position, int width, int filled) const;
+ void Draw(SDL_Surface *dest, const geometry::Vector<int> &position, int width, Uint8 fill) const;
private:
SDL_Surface *surface;