X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fgraphics%2FComplexAnimation.h;h=380ea2a066f831590f9e744d8215944ffdb239ef;hb=0e7b9eca67383e45e04aa419cb783c92722f7801;hp=1ed001aa341bdc6f915c5d1476f04a8d51d1acdd;hpb=a3ba4dc677ad7c92eeb78b20b642241563605c9d;p=l2e.git diff --git a/src/graphics/ComplexAnimation.h b/src/graphics/ComplexAnimation.h index 1ed001a..380ea2a 100644 --- a/src/graphics/ComplexAnimation.h +++ b/src/graphics/ComplexAnimation.h @@ -2,6 +2,7 @@ #define GRAPHICS_COMPLEXANIMATION_H_ #include "Animation.h" +#include "../loader/noinit.h" namespace graphics { @@ -14,6 +15,8 @@ public: public: ComplexAnimation(); ComplexAnimation(const Sprite *sprite, int frameTime, bool repeat = false); +protected: + ComplexAnimation(loader::noinit_t); public: struct FrameProp { @@ -29,6 +32,7 @@ public: static void CreateTypeDescription(); static void Construct(void *); + static void Initialize(void *); protected: virtual int NumFrames() const; @@ -44,4 +48,4 @@ private: } -#endif /* GRAPHICS_COMPLEXANIMATION_H_ */ +#endif