1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- #pragma once
- #include "Array.h"
- namespace Framework
- {
- class Bild;
- class Animation2DData;
- class Textur2D : public virtual ReferenceCounter
- {
- private:
- struct Animation
- {
- Animation2DData* data;
- int jetzt;
- double ausgleich;
- };
- bool circularAnimation;
- int animationIndex;
- Bild* txt;
- Array<Animation*>* animData;
- public:
-
- DLLEXPORT Textur2D();
-
- DLLEXPORT ~Textur2D();
-
-
- DLLEXPORT void setCircularAnimation(bool ca);
-
-
- DLLEXPORT void setTexturZ(Bild* textur);
-
-
- DLLEXPORT void addAnimationZ(Animation2DData* textur);
-
-
- DLLEXPORT void setAnimation(int index);
-
- DLLEXPORT void nextAnimation();
-
-
- DLLEXPORT bool tick(double t);
-
- DLLEXPORT Bild* zTextur() const;
- };
- }
|