KSGSAnimation2D.h 947 B

12345678910111213141516171819202122232425262728293031
  1. #ifndef KSGSAnimation2D_H
  2. #define KSGSAnimation2D_H
  3. #include "../Befehl/KSGSKlasse.h"
  4. #include <Animation.h>
  5. #include <MausEreignis.h>
  6. namespace KSGScript
  7. {
  8. class KSGSAnimation2DKlasse : public KSGSKlasseInstanz
  9. {
  10. private:
  11. Animation2D *val;
  12. public:
  13. // Konstruktor
  14. __declspec( dllexport ) KSGSAnimation2DKlasse( KSGScriptObj *zObj, Animation2D *std = new Animation2D() );
  15. // Destruktor
  16. __declspec( dllexport ) ~KSGSAnimation2DKlasse();
  17. // nicht constant
  18. __declspec( dllexport ) virtual KSGSVariable *startFunktion( int id, bool access, RCArray< KSGSVariable > *parameter ) override;
  19. __declspec( dllexport ) virtual KSGSVariable *doOperator( int id, KSGSVariable *rechts ) override;
  20. // constant
  21. __declspec( dllexport ) virtual Animation2D *getVal() const;
  22. __declspec( dllexport ) virtual Animation2D *zVal() const;
  23. // Reference Counting
  24. __declspec( dllexport ) virtual KSGSVariable *release() override;
  25. };
  26. }
  27. #endif