Octopuses stay on the screen now
[ghostsoverboard] / seascene.h
index 1d0c1fc..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.
@@ -25,6 +30,10 @@ public slots:
 
     void removeGhost(QGraphicsItem * pGhost);
 
+    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.
@@ -40,6 +49,14 @@ protected:
 
     QList<QPointF> freeTiles_;
 
+    int ghostsLeft_;
+
+    QList<QGraphicsItem*> movingItems_;
+
+    bool paused_;
+
+    ScreenLitKeeper screenLitKeeper_;
+