#define SEASCENE_H
#include <QGraphicsScene>
+#include "screenlitkeeper.h"
+#include "level.h"
class SeaScene : public QGraphicsScene
{
signals:
void allGhostsPicked();
+ void pauseOn();
+ void pauseOff();
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);
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.
QList<QGraphicsItem*> movingItems_;
+ bool paused_;
+
+ ScreenLitKeeper screenLitKeeper_;
+