PreBattleScene.h 540 B

1234567891011121314151617181920212223242526272829303132333435
  1. #ifndef PREBATTLESCENE_H
  2. #define PREBATTLESCENE_H
  3. #include <QWidget>
  4. #include "gui/Scene.h"
  5. #include <vector>
  6. class UnitIcon;
  7. namespace Ui {
  8. class PreBattleScene;
  9. }
  10. class PreBattleScene : public Scene
  11. {
  12. Q_OBJECT
  13. public:
  14. explicit PreBattleScene(QWidget *parent = 0);
  15. ~PreBattleScene();
  16. void init() override;
  17. private slots:
  18. void on_start_battle_clicked();
  19. private:
  20. std::vector<UnitIcon*> units_player_1_;
  21. std::vector<UnitIcon*> units_player_2_;
  22. Ui::PreBattleScene *ui;
  23. };
  24. #endif // PREBATTLESCENE_H