1234567891011121314151617181920212223242526272829303132333435363738 |
- #ifndef Game_H
- #define Game_H
- #include "MiniGameV.h"
- #include "Menü.h"
- class Game : public MiniGameV
- {
- private:
- Schrift *schrift;
- Bildschirm *screen;
- Menü *menü;
- MinigameKlientV *client;
- int alpha;
- int ref;
- public:
- // Konstruktor
- Game();
- // Destruktor
- ~Game();
- // nicht constant
- virtual bool laden() override;
- virtual void setMinigameClientZ( MinigameKlientV *client ) 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
|