From 51a3559e5df31018d7de14357f83c24e7e508d7e Mon Sep 17 00:00:00 2001 From: totycro Date: Mon, 11 Apr 2011 12:37:29 +0200 Subject: progress --- pacman-c++/pixmapitem.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'pacman-c++/pixmapitem.h') 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 @@ #include "gameentity.h" class PixmapItem - : public QGraphicsObject, GameEntity + : public QGraphicsObject, public GameEntity { public: PixmapItem(QGraphicsItem *parent = 0); @@ -25,9 +25,6 @@ public: QPainterPath shape() const; void paint(QPainter *, const QStyleOptionGraphicsItem *, QWidget *); - virtual bool checkEnter(Actor *actor) { Q_UNUSED(actor); return true; } // default to true - virtual void enter(Actor *actor) { Q_UNUSED(actor); } // default to no action - private: QPixmap m_pix; int m_x, m_y; -- cgit v1.2.3