4 #include <QGraphicsScene>
6 class SeaScene : public QGraphicsScene
10 explicit SeaScene(QObject *parent = 0);
16 void setupMap(int ghosts, int rocks, int octopuses);
18 void spreadGhosts(int ghosts);
22 QPointF findRandomFreeSlot();
24 const QString ghostImageFilename_;
25 const QString rockImageFilename_;
26 const QString octopusImageFilename_;
27 const QStringList shipImageFilenames_;
29 QList<QPointF> freeTiles_;