diff options
| author | manuel <manuel@mausz.at> | 2011-04-09 12:34:06 +0200 |
|---|---|---|
| committer | manuel <manuel@mausz.at> | 2011-04-09 12:34:06 +0200 |
| commit | 7e4bc8ece49543533c4e27f5d6bc867c1bada601 (patch) | |
| tree | 261881edeed4c703c9f1fce5111705a013df8bdc /pacman-c++/pixmapitem.h | |
| parent | a4fc700dfe22c252824ac81711da4bd0bf94def5 (diff) | |
| download | foop-7e4bc8ece49543533c4e27f5d6bc867c1bada601.tar.gz foop-7e4bc8ece49543533c4e27f5d6bc867c1bada601.tar.bz2 foop-7e4bc8ece49543533c4e27f5d6bc867c1bada601.zip | |
collision detection fix
Diffstat (limited to 'pacman-c++/pixmapitem.h')
| -rw-r--r-- | pacman-c++/pixmapitem.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pacman-c++/pixmapitem.h b/pacman-c++/pixmapitem.h index e576d77..cff976f 100644 --- a/pacman-c++/pixmapitem.h +++ b/pacman-c++/pixmapitem.h | |||
| @@ -18,6 +18,7 @@ public: | |||
| 18 | void setSprite(int x, int y, int width, int height); | 18 | void setSprite(int x, int y, int width, int height); |
| 19 | QSizeF size() const; | 19 | QSizeF size() const; |
| 20 | QRectF boundingRect() const; | 20 | QRectF boundingRect() const; |
| 21 | QPainterPath shape() const; | ||
| 21 | void paint(QPainter *, const QStyleOptionGraphicsItem *, QWidget *); | 22 | void paint(QPainter *, const QStyleOptionGraphicsItem *, QWidget *); |
| 22 | 23 | ||
| 23 | private: | 24 | private: |
