Octopus speed given can now be zero or less
[ghostsoverboard] / seascene.h
index a296710..70334e3 100644 (file)
@@ -2,6 +2,7 @@
 #define SEASCENE_H
 
 #include <QGraphicsScene>
+#include "screenlitkeeper.h"
 
 class SeaScene : public QGraphicsScene
 {
@@ -12,6 +13,8 @@ public:
 signals:
 
     void allGhostsPicked();
+    void pauseOn();
+    void pauseOff();
 
 public slots:
 
@@ -29,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.
@@ -48,6 +53,10 @@ protected:
 
     QList<QGraphicsItem*> movingItems_;
 
+    bool paused_;
+
+    ScreenLitKeeper screenLitKeeper_;
+