-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 {
+ if (!surface) {
+ SDL_Rect rect;
+ rect.x = position.X();
+ rect.y = position.Y();
+ rect.w = width;
+ rect.h = height;
+ SDL_FillRect(dest, &rect, SDL_MapRGB(dest->format, 0xFF, 0x00, 0x00));
+ return;
+ }