Ghosts now visible aboard
[ghostsoverboard] / ship.h
diff --git a/ship.h b/ship.h
index 62acfd1..47c4cff 100644 (file)
--- a/ship.h
+++ b/ship.h
@@ -5,15 +5,18 @@
 
 class Ship : public OrientationControlledGraphicsPixmapObject
 {
-    Q_OBJECT
+
+       Q_OBJECT
 public:
-    explicit Ship(QPixmap pixmap = 0, QGraphicsItem *parent = 0);
+    explicit Ship(QList<QPixmap> pixmapList, QGraphicsItem *parent = 0);
 
 signals:
 
     /*! Emitted when a ghost is hit */
     void  pickingGhost(QGraphicsItem* pGhost);
 
+
+
     /*! Emitted when ghosts fall over board */
     void droppingGhosts (int ghosts);
 
@@ -24,8 +27,12 @@ protected:
 protected:
     bool handleCollisions();
 
+    void updateShipImage();
+
     int ghostsAboard_;
 
+    QList<QPixmap> shipImages_;
+
 
 };