Separated actual collision detection into subclass Ship
[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 public slots:
15
16 protected:
17
18 protected:
19     bool handleCollisions();
20
21
22 };
23
24 #endif // SHIP_H