diff options
| author | totycro <totycro@unknown-horizons.org> | 2011-04-04 22:55:41 +0200 |
|---|---|---|
| committer | totycro <totycro@unknown-horizons.org> | 2011-04-04 22:55:41 +0200 |
| commit | b35be096423e89746d441cbf2333800f853c92fd (patch) | |
| tree | 436f9242353f6bc5d9419b92202561eb8c57fb38 /pacman-c++/bonuspoint.cpp | |
| parent | eef1d8ea60e3797ba261ebfe61a7d1e165069ed4 (diff) | |
| download | foop-b35be096423e89746d441cbf2333800f853c92fd.tar.gz foop-b35be096423e89746d441cbf2333800f853c92fd.tar.bz2 foop-b35be096423e89746d441cbf2333800f853c92fd.zip | |
Support actor in map
Diffstat (limited to 'pacman-c++/bonuspoint.cpp')
| -rw-r--r-- | pacman-c++/bonuspoint.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pacman-c++/bonuspoint.cpp b/pacman-c++/bonuspoint.cpp index 67c8250..efff263 100644 --- a/pacman-c++/bonuspoint.cpp +++ b/pacman-c++/bonuspoint.cpp | |||
| @@ -4,7 +4,8 @@ namespace { | |||
| 4 | QPixmap *pixmap = 0; | 4 | QPixmap *pixmap = 0; |
| 5 | } | 5 | } |
| 6 | 6 | ||
| 7 | BonusPoint::BonusPoint() | 7 | BonusPoint::BonusPoint(QGraphicsItem *parent) |
| 8 | : PixmapItem(parent) | ||
| 8 | { | 9 | { |
| 9 | if (pixmap == 0) { | 10 | if (pixmap == 0) { |
| 10 | pixmap = new QPixmap(":/cherry"); | 11 | pixmap = new QPixmap(":/cherry"); |
