]> git.localhorst.tv Git - l2e.git/blobdiff - src/graphics/ComplexAnimation.h
switched to static type IDs
[l2e.git] / src / graphics / ComplexAnimation.h
index e35895d9ae5f59c5f03c01cbb20ae0a3a0e6cb00..4e2cb32a0e9146bc19a5bf73149c0248f0d27b6c 100644 (file)
@@ -15,6 +15,9 @@ namespace graphics {
 class ComplexAnimation
 : public Animation {
 
+public:
+       static const int TYPE_ID = 402;
+
 public:
        ComplexAnimation() : frames(0), numFrames(0) { }
        ComplexAnimation(const Sprite *sprite, int frameTime, bool repeat = false)
@@ -22,6 +25,7 @@ public:
 
 public:
        struct FrameProp {
+               static const int TYPE_ID = 403;
                FrameProp() : col(0), row(0) { }
                FrameProp(int col, int row, const geometry::Vector<int> &disposition)
                : col(col), row(row), disposition(disposition) {}