KEShopSeite.h 916 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. #ifndef KEShopSeite_H
  2. #define KEShopSeite_H
  3. #include <Fenster.h>
  4. #include <Thread.h>
  5. #include <Animation.h>
  6. #include "KESSEditor.h"
  7. #include "KESSVorschau.h"
  8. using namespace Framework;
  9. class KEShopSeite : public Thread
  10. {
  11. private:
  12. Fenster *fenster;
  13. Animation2D *laden;
  14. KESSEditor *editor;
  15. KESSVorschau *vorschau;
  16. int aktion;
  17. int zeile;
  18. bool animation;
  19. double tickVal;
  20. bool sichtbar;
  21. bool rechts;
  22. int xStart;
  23. int breite;
  24. int karte;
  25. unsigned char alpha;
  26. public:
  27. // Konstruktor
  28. KEShopSeite( int karte );
  29. // Destruktor
  30. ~KEShopSeite();
  31. // nicht constant
  32. void setSichtbar( bool s, bool vr );
  33. void thread() override;
  34. void doPublicMausEreignis( MausEreignis &me );
  35. void doTastaturEreignis( TastaturEreignis &te );
  36. bool tick( double z );
  37. void render( Bild &zRObj );
  38. // constant
  39. bool istSichtbar() const;
  40. };
  41. #endif