X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fgraphics%2FComplexAnimation.h;h=f4a5db575d8f657809ffeaf3684b0f7fd2d6f12c;hb=0285546b22f9e8f496ca6b1abffdd232647b6b6a;hp=e35895d9ae5f59c5f03c01cbb20ae0a3a0e6cb00;hpb=b02da898c7c8a08141df4e797774a61cf5e0163f;p=l2e.git diff --git a/src/graphics/ComplexAnimation.h b/src/graphics/ComplexAnimation.h index e35895d..f4a5db5 100644 --- a/src/graphics/ComplexAnimation.h +++ b/src/graphics/ComplexAnimation.h @@ -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 &disposition) : col(col), row(row), disposition(disposition) {}