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