123456789101112131415161718192021222324252627282930313233343536373839 |
- #ifndef Game_H
- #define Game_H
- #include <MiniGameV.h>
- #include "Menü.h"
- class Game : public MiniGameV
- {
- private:
- Schrift *schrift;
- Bildschirm *screen;
- Menü *menü;
- KSGClient::MinigameServerClient *client;
- int alpha;
- int ref;
- public:
- // Konstruktor
- Game();
- // Destruktor
- ~Game();
- // nicht constant
- virtual bool laden() override;
- virtual void setMinigameClientZ( KSGClient::MinigameServerClient *client ) override;
- virtual void setMinigameAPI( MinigameAPI *api ) override;
- virtual void doMausEreignis( MausEreignis &me ) override;
- virtual void doTastaturEreignis( TastaturEreignis &te ) override;
- virtual bool tick( double zeit ) override;
- virtual void render( Bild &zRObj ) override;
- virtual void setSchriftZ( Schrift *schrift ) override;
- virtual void setBildschirmZ( Bildschirm * screen ) override;
- // constant
- virtual bool istEnde() const override;
- // Reference Counting
- virtual MiniGameV *getThis() override;
- virtual MiniGameV *release() override;
- };
- #endif
|