-/*
- * SimpleAnimation.h
- *
- * Created on: Aug 11, 2012
- * Author: holy
- */
-
#ifndef GRAPHICS_SIMPLEANIMATION_H_
#define GRAPHICS_SIMPLEANIMATION_H_
class SimpleAnimation
: public Animation {
+public:
+ static const int TYPE_ID = 408;
+
public:
SimpleAnimation()
: numFrames(0), col(0), row(0) { }
void SetRow(int r) { row = r; }
static void CreateTypeDescription();
+ static void Construct(void *);
protected:
virtual int NumFrames() const { return numFrames; };