Game.h 573 B

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