- SimpleAnimation()
- : numFrames(0), col(0), row(0) { }
- SimpleAnimation(const Sprite *sprite, int frameTime, int numFrames, int col = 0, int row = 0, bool repeat = false)
- : Animation(sprite, frameTime, repeat), numFrames(numFrames), col(col), row(row) { }
+ static const int TYPE_ID = 408;
+
+public:
+ SimpleAnimation();
+ SimpleAnimation(const Sprite *sprite, int frameTime, int numFrames,
+ int col = 0, int row = 0, bool repeat = false);
+
+public:
+ void SetNumFrames(int n) { numFrames = n; }
+ void SetCol(int c) { col = c; }
+ void SetRow(int r) { row = r; }
+
+ static void CreateTypeDescription();
+ static void Construct(void *);