Victory dialog shown and game restarted when all ghosts found
[ghostsoverboard] / mainwindow.h
1 #ifndef MAINWINDOW_H
2 #define MAINWINDOW_H
3
4 #include <QtGui/QMainWindow>
5 #include <QGraphicsView>
6 #include "orientationcontrolledgraphicspixmapobject.h"
7 #include "seascene.h"
8
9 class MainWindow : public QMainWindow
10 {
11     Q_OBJECT
12
13 public:
14     MainWindow(QWidget *parent = 0);
15     ~MainWindow();
16
17 public slots:
18     void initializeBoundaries();
19     void pause(bool paused);
20     void restartLevel();
21     void about();
22     void nextLevel();
23
24
25 private:
26
27 SeaScene * pScene_;
28 QGraphicsView * pView_;
29 OrientationControlledGraphicsPixmapObject * pTursas_;
30 bool paused_;
31
32
33
34
35 };
36
37 #endif // MAINWINDOW_H