playervsplayerintro.h 592 B

123456789101112131415161718192021222324252627282930313233
  1. #ifndef PLAYERVSPLAYERINTRO_H
  2. #define PLAYERVSPLAYERINTRO_H
  3. #include "gui/scene.h"
  4. #include "gui/buttoneventlistener.h"
  5. #include <QWidget>
  6. namespace Ui {
  7. class PlayerVsPlayerIntro;
  8. }
  9. class PlayerVsPlayerIntro : public Scene
  10. {
  11. Q_OBJECT
  12. public:
  13. explicit PlayerVsPlayerIntro(QWidget *parent = 0);
  14. virtual void init() override;
  15. ~PlayerVsPlayerIntro();
  16. private slots:
  17. void on_back_button_clicked();
  18. void on_continue_button_clicked();
  19. private:
  20. QMovie *movie;
  21. Ui::PlayerVsPlayerIntro *ui;
  22. ButtonEventListener *watcher;
  23. };
  24. #endif // PLAYERVSPLAYERINTRO_H