Game.h 881 B

12345678910111213141516171819202122232425262728293031323334
  1. #ifndef Game_H
  2. #define Game_H
  3. #include "MiniGameV.h"
  4. #include "Menü.h"
  5. class Game : public MiniGameV
  6. {
  7. private:
  8. UIInit uiFactory;
  9. Menü *menü;
  10. KSGClient::MinigameServerClient *client;
  11. int alpha;
  12. public:
  13. // Konstruktor
  14. Game();
  15. // Destruktor
  16. ~Game();
  17. // nicht constant
  18. virtual bool laden() override;
  19. virtual void setMinigameClientZ( KSGClient::MinigameServerClient *client ) override;
  20. virtual void setMinigameAPI( MinigameAPI *api ) override;
  21. virtual void doPublicMausEreignis( MausEreignis &me ) override;
  22. virtual void doTastaturEreignis( TastaturEreignis &te ) override;
  23. virtual bool tick( double zeit ) override;
  24. virtual void render( Bild &zRObj ) override;
  25. virtual void setUIFactory( UIInit &uiFactory ) override;
  26. // constant
  27. virtual bool istEnde() const override;
  28. // Reference Counting
  29. };
  30. #endif