]> git.localhorst.tv Git - l2e.git/blobdiff - src/graphics/ComplexAnimation.h
removed stupid file headers that eclipse put in
[l2e.git] / src / graphics / ComplexAnimation.h
index a548cdbb9931b92d6be76388be0713765f0b1497..f4a5db575d8f657809ffeaf3684b0f7fd2d6f12c 100644 (file)
@@ -1,10 +1,3 @@
-/*
- * ComplexAnimation.h
- *
- *  Created on: Aug 12, 2012
- *      Author: holy
- */
-
 #ifndef GRAPHICS_COMPLEXANIMATION_H_
 #define GRAPHICS_COMPLEXANIMATION_H_
 
@@ -15,6 +8,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 +18,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) {}
@@ -32,6 +29,7 @@ public:
        void SetFrames(const FrameProp *f, int num) { frames = f; numFrames = num; }
 
        static void CreateTypeDescription();
+       static void Construct(void *);
 
 protected:
        virtual int NumFrames() const { return numFrames; };