Octopus speed given can now be zero or less
[ghostsoverboard] / seascene.h
index 5bea885..70334e3 100644 (file)
@@ -2,6 +2,7 @@
 #define SEASCENE_H
 
 #include <QGraphicsScene>
+#include "screenlitkeeper.h"
 
 class SeaScene : public QGraphicsScene
 {
@@ -11,6 +12,10 @@ public:
 
 signals:
 
+    void allGhostsPicked();
+    void pauseOn();
+    void pauseOff();
+
 public slots:
 
     /*! Places all needed items for a level to (re)start.
@@ -27,6 +32,8 @@ public slots:
 
     void ghostsDropped(int ghosts);
 
+    void pause (bool paused);
+
 protected:
 
     /*! Gives a pointer to a random position if a free one is found. Otherwise returns NULL.
@@ -44,6 +51,12 @@ protected:
 
     int ghostsLeft_;
 
+    QList<QGraphicsItem*> movingItems_;
+
+    bool paused_;
+
+    ScreenLitKeeper screenLitKeeper_;
+