#ifndef GRAPHICS_FRAME_H_
#define GRAPHICS_FRAME_H_
-#include "../geometry/Point.h"
+#include "../geometry/Vector.h"
#include <SDL.h>
int MinHeight() const { return 2 * borderHeight; }
int BorderWidth() const { return borderWidth; }
int BorderHeight() const { return borderHeight; }
- void Draw(SDL_Surface *dest, const geometry::Point<int> &position, int width, int height) const;
+ void Draw(SDL_Surface *dest, const geometry::Vector<int> &position, int width, int height) const;
private:
SDL_Surface *surface;