X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fgraphics%2FSimpleAnimation.h;h=0864d2b024402f2509e01283558ded8f117615b3;hb=0e7b9eca67383e45e04aa419cb783c92722f7801;hp=88a41c5ba52e859137549e5d68737beacf340264;hpb=67f6bb1d9727e7d1e2140cf2913aa89ebba84bf5;p=l2e.git diff --git a/src/graphics/SimpleAnimation.h b/src/graphics/SimpleAnimation.h index 88a41c5..0864d2b 100644 --- a/src/graphics/SimpleAnimation.h +++ b/src/graphics/SimpleAnimation.h @@ -2,6 +2,7 @@ #define GRAPHICS_SIMPLEANIMATION_H_ #include "Animation.h" +#include "../loader/noinit.h" namespace graphics { @@ -15,6 +16,8 @@ public: SimpleAnimation(); SimpleAnimation(const Sprite *sprite, int frameTime, int numFrames, int col = 0, int row = 0, bool repeat = false); +protected: + SimpleAnimation(loader::noinit_t); public: void SetNumFrames(int n) { numFrames = n; } @@ -23,6 +26,7 @@ public: static void CreateTypeDescription(); static void Construct(void *); + static void Initialize(void *); protected: virtual int NumFrames() const; @@ -38,4 +42,4 @@ private: } -#endif /* GRAPHICS_SIMPLEANIMATION_H_ */ +#endif