Game.h 490 B

123456789101112131415161718192021222324252627
  1. #pragma once
  2. #include <Knopf.h>
  3. #include <Bild.h>
  4. #include "Menu.h"
  5. #include "Dialog.h"
  6. class Player;
  7. class Game : public Menu
  8. {
  9. private:
  10. Framework::Knopf* logout;
  11. Framework::TextFeld* debug;
  12. Framework::Array<UIMLDialog*> dialogs;
  13. Framework::UIMLView* guiView;
  14. public:
  15. // Konstruktor
  16. Game(Bildschirm* zScreen);
  17. ~Game();
  18. void updatePosition(Vec3<float> position, bool target, Vec3<int> targetPos);
  19. void api(char* data);
  20. void closeCurrentDialog();
  21. };