Ship can now pick ghosts
[ghostsoverboard] / ship.h
1 #ifndef SHIP_H
2 #define SHIP_H
3
4 #include "orientationcontrolledgraphicspixmapobject.h"
5
6 class Ship : public OrientationControlledGraphicsPixmapObject
7 {
8     Q_OBJECT
9 public:
10     explicit Ship(QPixmap pixmap = 0, QGraphicsItem *parent = 0);
11
12 signals:
13
14     /*! Emitted when a ghost is hit */
15     void  pickingGhost(QGraphicsItem* pGhost);
16
17 public slots:
18
19 protected:
20
21 protected:
22     bool handleCollisions();
23
24     int ghostsAboard_;
25
26
27 };
28
29 #endif // SHIP_H