4 * Created on: Aug 5, 2012
8 #ifndef GRAPHICS_SPRITE_H_
9 #define GRAPHICS_SPRITE_H_
18 Sprite(SDL_Surface *s, int width, int height)
19 : surface(s), width(width), height(height) { }
22 int Width() const { return width; }
23 int Height() const { return height; }
24 void Draw(SDL_Surface *dest, int x, int y, int col = 0, int row = 0) const;
35 #endif /* GRAPHICS_SPRITE_H_ */