X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fgraphics%2FSimpleAnimation.h;h=0864d2b024402f2509e01283558ded8f117615b3;hb=HEAD;hp=7e5a99a9a2630b6e4ba7eadf59e1a993349a6940;hpb=4309d259becd96ead792678257e910c03a6b4a3d;p=l2e.git diff --git a/src/graphics/SimpleAnimation.h b/src/graphics/SimpleAnimation.h index 7e5a99a..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;