|
@@ -24,29 +24,32 @@ namespace Framework
|
|
|
|
|
|
public:
|
|
|
// Konstructor
|
|
|
- Textur2D();
|
|
|
+ __declspec( dllexport ) Textur2D();
|
|
|
// Destructor
|
|
|
- ~Textur2D();
|
|
|
+ __declspec( dllexport ) ~Textur2D();
|
|
|
// Legt fest, ob die animation sich automatisch wiederhohlen soll
|
|
|
// ca: 1, falls sich die animation automatisch wiederhohlen soll
|
|
|
- void setCircularAnimation( bool ca );
|
|
|
+ __declspec( dllexport ) void setCircularAnimation( bool ca );
|
|
|
// setzt einen Zeiger auf die Textur (fals nicht animiert)
|
|
|
// textur: Der Zeiger auf das Bild
|
|
|
- void setTexturZ( Bild *textur );
|
|
|
+ __declspec( dllexport ) void setTexturZ( Bild *textur );
|
|
|
// fügt eine Animation hinzu
|
|
|
// textur: Der Zeiger auf die Animationsdaten
|
|
|
- void addAnimationZ( Animation2DData *textur );
|
|
|
+ __declspec( dllexport ) void addAnimationZ( Animation2DData *textur );
|
|
|
+ // setzt die aktuelle Annimation
|
|
|
+ // index: Der Index der Animation
|
|
|
+ __declspec( dllexport ) void setAnimation( int index );
|
|
|
// aktiviert die nachfolgende animation
|
|
|
- void nextAnimation();
|
|
|
+ __declspec( dllexport ) void nextAnimation();
|
|
|
// setzt die vergangene Zeit seit dem letzten Aufruf
|
|
|
// t: die vergangene Zeit in sekunden
|
|
|
- bool tick( double t );
|
|
|
+ __declspec( dllexport ) bool tick( double t );
|
|
|
// gibt die aktuelle Textur zurück
|
|
|
- Bild *zTextur() const;
|
|
|
+ __declspec( dllexport ) Bild *zTextur() const;
|
|
|
// erhöht den Reference Counter um 1 und gibt this zurück
|
|
|
- Textur2D *getThis();
|
|
|
+ __declspec( dllexport ) Textur2D *getThis();
|
|
|
// verringert den reference counter um 1 und löscht sich selbst, falls er 0 erreicht
|
|
|
// gibt 0 zurück
|
|
|
- Textur2D *release();
|
|
|
+ __declspec( dllexport ) Textur2D *release();
|
|
|
};
|
|
|
}
|