All menu items in place. Still do nothing.
[ghostsoverboard] / seascene.h
index 6d932ab..7690d57 100644 (file)
@@ -25,6 +25,7 @@
 #define SEASCENE_H
 
 #include <QGraphicsScene>
+#include<QGraphicsItemGroup>
 #include "screenlitkeeper.h"
 #include "level.h"
 
@@ -63,6 +64,9 @@ public slots:
 
     void vibrationActivate(bool);
 
+    void menuClicked();
+
+
 protected:
 
     /*! Gives a pointer to a random position if a free one is found. Otherwise returns NULL.
@@ -71,6 +75,9 @@ protected:
 
     QPointF* findRandomFreeSlot();
 
+    void createMenuItems();
+    void prepareForMenu(QGraphicsItem * pItem);
+
     const QString ghostImageFilename_;
     const QString rockImageFilename_;
     const QString octopusImageFilename_;
@@ -87,6 +94,14 @@ protected:
     ScreenLitKeeper screenLitKeeper_;
 
 
+    int menuItemCount_;
+
+    QGraphicsSimpleTextItem * pPausetextItem_;
+
+    QGraphicsSimpleTextItem * pRestartLevelItem_;
+    QGraphicsSimpleTextItem * pRestartGameItem_;
+    QGraphicsSimpleTextItem * pSettingsItem_;
+    QGraphicsSimpleTextItem * pAboutItem_;
 
 
 };