12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182 |
- #ifndef MiniGames_H
- #define MiniGames_H
- #include <Fenster.h>
- #include <Animation.h>
- #include "MiniGame.h"
- #include <Thread.h>
- #include <Knopf.h>
- #include <MiniGameV.h>
- #include "DLLDateien.h"
- using namespace Framework;
- class MiniGames;
- class MGSuchen : private Thread
- {
- private:
- MiniGames * mGames;
- public:
-
- MGSuchen( MiniGames *mGames );
-
- ~MGSuchen();
-
- void thread() override;
- };
- class MGLaden : private Thread
- {
- private:
- Text * name;
- MiniGameV *game;
- DLLDateien *dLLs;
- int ref;
- public:
-
- MGLaden( char *name, DLLDateien *zDLLs );
-
- ~MGLaden();
-
- void thread();
-
- bool fertig() const;
- MiniGameV *zGame() const;
-
- MGLaden *getThis();
- MGLaden *release();
- };
- class MiniGames : public Zeichnung
- {
- private:
- Punkt bildschirmGröße;
- LRahmen *rahmen;
- RCArray< MiniGame > *games;
- MGLaden *mgl;
- Schrift *schrift;
- DLLDateien *dLLs;
- Bildschirm *screen;
- double tickVal;
- int alpha2;
- int ref;
- public:
-
- MiniGames( Schrift *zSchrift, DLLDateien *zDLLs, Bildschirm *zScreen );
-
- ~MiniGames();
-
- void addMiniGame( MiniGame *mg );
- void doMausEreignis( MausEreignis &me ) override;
- void doTastaturEreignis( TastaturEreignis &te ) override;
- bool tick( double z ) override;
- void render( Bild &zRObj ) override;
-
- MiniGames *getThis();
- MiniGames *release();
- };
- #endif
|