Moved "Restart game" place in menu
[ghostsoverboard] / seascene.h
index a296710..9fb0734 100644 (file)
@@ -2,6 +2,8 @@
 #define SEASCENE_H
 
 #include <QGraphicsScene>
+#include "screenlitkeeper.h"
+#include "level.h"
 
 class SeaScene : public QGraphicsScene
 {
@@ -12,6 +14,9 @@ public:
 signals:
 
     void allGhostsPicked();
+    void pauseOn();
+    void pauseOff();
+    void vibrationActivated(bool on);
 
 public slots:
 
@@ -21,7 +26,9 @@ public slots:
     @param rocks the number of rocks to be placed on the map
     @param octopuses number of octopuses to be placed on the map
     */
-    void setupMap(int ghosts, int rocks, int octopuses);
+    void setupMap(int ghosts, int rocks, int octopuses, int octopusSpeed);
+
+    void setupMap(Level level);
 
     void spreadGhosts(int ghosts);
 
@@ -29,6 +36,10 @@ public slots:
 
     void ghostsDropped(int ghosts);
 
+    void pause (bool paused);
+
+    void vibrationActivate(bool);
+
 protected:
 
     /*! Gives a pointer to a random position if a free one is found. Otherwise returns NULL.
@@ -48,6 +59,10 @@ protected:
 
     QList<QGraphicsItem*> movingItems_;
 
+    bool paused_;
+
+    ScreenLitKeeper screenLitKeeper_;
+