Game.h 688 B

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