123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475 |
- #ifndef TitelLeiste_H
- #define TitelLeiste_H
- #include <Klient.h>
- #include <Knopf.h>
- #include <Fenster.h>
- #include <Bild.h>
- #include <Thread.h>
- using namespace Framework;
- class TitelLeiste : public Thread
- {
- private:
- Knopf *close;
- Knopf *einstellungen;
- Knopf *logout;
- Knopf *accountAnsehen;
- Knopf *spielen;
- Knopf *miniGames;
- Knopf *news;
- Knopf *shop;
- Knopf *editor;
- Bild *closeBild;
- Bild *einstellungenBild;
- Bild *logoutBild;
- TextFeld *info;
- TextFeld *version;
- Fenster *fenster;
- Array< int > *next;
- Critical cs;
- BildZ *goldBild;
- BildZ *silberBild;
- BildZ *kupferBild;
- TextFeld *gold;
- TextFeld *silber;
- TextFeld *kupfer;
- int nextAnzahl;
- bool rend;
- public:
-
- TitelLeiste( Fenster *zNachLogin );
-
- ~TitelLeiste();
-
- void setImSpiel( bool imSpiel );
- void setImVideo( bool imVideo );
- bool druckSchließen( MausEreignis &me );
- bool druckEinstellungen( MausEreignis &me );
- bool druckLogout( MausEreignis &me );
- bool druckAccountAnsehen( MausEreignis &me );
- bool druckSpielen( MausEreignis &me );
- bool druckMiniGames( MausEreignis &me );
- bool druckNews( MausEreignis &me );
- bool druckShop( MausEreignis &me );
- bool druckEditor( MausEreignis &me );
- void thread();
- bool tick();
-
- int getSpielenX() const;
- };
- bool titelLeisteSchließenME( void *p, void *obj, MausEreignis me );
- bool titelLeisteEinstellungenME( void *p, void *obj, MausEreignis me );
- bool titelLeisteLogoutME( void *p, void *obj, MausEreignis me );
- bool titelLeisteAccountAnsehenME( void *p, void *obj, MausEreignis me );
- bool titelLeisteSpielenME( void *p, void *obj, MausEreignis me );
- bool titelLeisteMiniGamesME( void *p, void *obj, MausEreignis me );
- bool titelLeisteNewsME( void *p, void *obj, MausEreignis me );
- bool titelLeisteShopME( void *p, void *obj, MausEreignis me );
- bool titelLeisteEditorME( void *p, void *obj, MausEreignis me );
- #endif
|