1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- #ifndef KERelease_H
- #define KERelease_H
- #include <Fenster.h>
- #include <Tabelle.h>
- #include <Thread.h>
- #include <Knopf.h>
- #include <Animation.h>
- #include <AuswahlBox.h>
- using namespace Framework;
- class KERelease : private Thread
- {
- private:
- Fenster *fenster;
- ObjTabelle *abbilder;
- Knopf *veröff;
- Knopf *abbildErstellen;
- TextFeld *abbildName;
- Animation2D *laden;
- Schrift *schrift;
- TextFeld *shopT;
- AuswahlBox *testVersionErwerbbar;
- AuswahlBox *vollVersionErwerbbar;
- TextFeld *preisT;
- TextFeld *testVersionPreisT;
- TextFeld *vollVersionPreisT;
- TextFeld *testVersionPreis;
- TextFeld *vollVersionPreis;
- Knopf *shopÜbernehmen;
- int aktion;
- int zeile;
- bool animation;
- double tickVal;
- bool sichtbar;
- bool rechts;
- int xStart;
- int breite;
- int karte;
- unsigned char alpha;
- int ref;
- public:
- // Konstruktor
- KERelease( int karte, Schrift *zSchrift );
- // Destruktor
- ~KERelease();
- // nicht constant
- bool herstellenME( Knopf *obj, MausEreignis &me );
- bool removeME( Knopf *obj, MausEreignis &me );
- bool veröffentlichenME( MausEreignis &me );
- bool abbildErstellenME( MausEreignis &me );
- bool shopÜbernehmenME( MausEreignis &me );
- void setSichtbar( bool s, bool vr );
- void thread() override;
- void doMausEreignis( MausEreignis &me );
- void doTastaturEreignis( TastaturEreignis &te );
- bool tick( double z );
- void render( Bild &zRObj );
- // constant
- bool istSichtbar() const;
- // Reference Counting
- KERelease *getThis();
- KERelease *release();
- };
- #endif
|