X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fgraphics%2FSimpleAnimation.h;h=d5d758fc7c3a88978a47aa2f0e898335a99a6b7c;hb=1907ca03c5e865c4d398170042aa384c67ffff29;hp=81d62443f699fbc144de9c720722eb2cac7c4631;hpb=bcbb72013091db29a085d044f200c10d66b7c47a;p=l2e.git diff --git a/src/graphics/SimpleAnimation.h b/src/graphics/SimpleAnimation.h index 81d6244..d5d758f 100644 --- a/src/graphics/SimpleAnimation.h +++ b/src/graphics/SimpleAnimation.h @@ -15,6 +15,9 @@ namespace graphics { class SimpleAnimation : public Animation { +public: + static const int TYPE_ID = 408; + public: SimpleAnimation() : numFrames(0), col(0), row(0) { } @@ -27,6 +30,7 @@ public: void SetRow(int r) { row = r; } static void CreateTypeDescription(); + static void Construct(void *); protected: virtual int NumFrames() const { return numFrames; };