class Sprite {
+public:
+ static const int TYPE_ID = 409;
+
public:
Sprite() : surface(0), size(64, 64), offset() { }
Sprite(SDL_Surface *s, int width, int height, int xOffset = 0, int yOffset = 0)
void SetSize(const geometry::Vector<int> &s) { size = s; }
void SetOffset(const geometry::Vector<int> &o) { offset = o; }
+ static void CreateTypeDescription();
+ static void Construct(void *);
+
private:
SDL_Surface *surface;
geometry::Vector<int> size;