#include<QGraphicsItemGroup>
#include "screenlitkeeper.h"
#include "level.h"
+#include <QAction>
class SeaScene : public QGraphicsScene
{
void vibrationActivate(bool);
- void menuClicked();
+ void handleScreenTapped();
+
+ void about();
+
+ void restartLevel();
+
+ void nextLevel();
+
+ void restartGame();
+
+ void forcePause();
+
+ void softContinue();
+
protected:
int menuItemCount_;
- QGraphicsSimpleTextItem * pPausetextItem_;
+ QGraphicsTextItem * pPausetextItem_;
+
+ QGraphicsTextItem * pRestartLevelItem_;
+ QGraphicsTextItem * pRestartGameItem_;
+ QGraphicsTextItem * pSettingsItem_;
+ QGraphicsTextItem * pAboutItem_;
+ QGraphicsTextItem * pQuitItem_;
+
+ QList<Level> levelList_;
+
+ int currentLevel_;
+
+
+ QAction* pVibrateAction_;
+
+ QAction* pPauseAction_;
- QGraphicsSimpleTextItem * pRestartLevelItem_;
- QGraphicsSimpleTextItem * pRestartGameItem_;
- QGraphicsSimpleTextItem * pSettingsItem_;
- QGraphicsSimpleTextItem * pAboutItem_;
+ bool pauseForced_;
};