summaryrefslogtreecommitdiffstats
path: root/pacman-c++/pixmapitem.h
diff options
context:
space:
mode:
authortotycro <totycro@unknown-horizons.org>2011-04-11 12:37:29 +0200
committertotycro <totycro@unknown-horizons.org>2011-04-11 12:37:29 +0200
commit51a3559e5df31018d7de14357f83c24e7e508d7e (patch)
tree89db0899d182dd5b3b770b07c8646dd80c915d4e /pacman-c++/pixmapitem.h
parent98f4a31e1a359a69dbcc0fa4055f36cefb6d4e02 (diff)
downloadfoop-51a3559e5df31018d7de14357f83c24e7e508d7e.tar.gz
foop-51a3559e5df31018d7de14357f83c24e7e508d7e.tar.bz2
foop-51a3559e5df31018d7de14357f83c24e7e508d7e.zip
progress
Diffstat (limited to 'pacman-c++/pixmapitem.h')
-rw-r--r--pacman-c++/pixmapitem.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/pacman-c++/pixmapitem.h b/pacman-c++/pixmapitem.h
index 88770d2..4e58a52 100644
--- a/pacman-c++/pixmapitem.h
+++ b/pacman-c++/pixmapitem.h
@@ -7,7 +7,7 @@
7#include "gameentity.h" 7#include "gameentity.h"
8 8
9class PixmapItem 9class PixmapItem
10 : public QGraphicsObject, GameEntity 10 : public QGraphicsObject, public GameEntity
11{ 11{
12public: 12public:
13 PixmapItem(QGraphicsItem *parent = 0); 13 PixmapItem(QGraphicsItem *parent = 0);
@@ -25,9 +25,6 @@ public:
25 QPainterPath shape() const; 25 QPainterPath shape() const;
26 void paint(QPainter *, const QStyleOptionGraphicsItem *, QWidget *); 26 void paint(QPainter *, const QStyleOptionGraphicsItem *, QWidget *);
27 27
28 virtual bool checkEnter(Actor *actor) { Q_UNUSED(actor); return true; } // default to true
29 virtual void enter(Actor *actor) { Q_UNUSED(actor); } // default to no action
30
31private: 28private:
32 QPixmap m_pix; 29 QPixmap m_pix;
33 int m_x, m_y; 30 int m_x, m_y;