KERelease.h 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. #ifndef KERelease_H
  2. #define KERelease_H
  3. #include <Fenster.h>
  4. #include <Tabelle.h>
  5. #include <Thread.h>
  6. #include <Knopf.h>
  7. #include <Animation.h>
  8. #include <AuswahlBox.h>
  9. using namespace Framework;
  10. class KERelease : public Thread
  11. {
  12. private:
  13. Fenster *fenster;
  14. ObjTabelle *abbilder;
  15. Knopf *veröff;
  16. Knopf *abbildErstellen;
  17. TextFeld *abbildName;
  18. Animation2D *laden;
  19. TextFeld *shopT;
  20. AuswahlBox *testVersionErwerbbar;
  21. AuswahlBox *vollVersionErwerbbar;
  22. TextFeld *preisT;
  23. TextFeld *testVersionPreisT;
  24. TextFeld *vollVersionPreisT;
  25. TextFeld *testVersionPreis;
  26. TextFeld *vollVersionPreis;
  27. Knopf *shopÜbernehmen;
  28. int aktion;
  29. int zeile;
  30. bool animation;
  31. double tickVal;
  32. bool sichtbar;
  33. bool rechts;
  34. int xStart;
  35. int breite;
  36. int karte;
  37. unsigned char alpha;
  38. public:
  39. // Konstruktor
  40. KERelease( int karte );
  41. // Destruktor
  42. ~KERelease();
  43. // nicht constant
  44. bool herstellenME( Knopf *obj, MausEreignis &me );
  45. bool removeME( Knopf *obj, MausEreignis &me );
  46. bool veröffentlichenME( MausEreignis &me );
  47. bool abbildErstellenME( MausEreignis &me );
  48. bool shopÜbernehmenME( MausEreignis &me );
  49. void setSichtbar( bool s, bool vr );
  50. void thread() override;
  51. void doPublicMausEreignis( MausEreignis &me );
  52. void doTastaturEreignis( TastaturEreignis &te );
  53. bool tick( double z );
  54. void render( Bild &zRObj );
  55. // constant
  56. bool istSichtbar() const;
  57. };
  58. #endif