12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- #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;
- };
- }
|