summaryrefslogtreecommitdiffstats
path: root/pacman-c++/bonuspoint.cpp
diff options
context:
space:
mode:
authortotycro <totycro@unknown-horizons.org>2011-04-04 22:02:31 +0200
committertotycro <totycro@unknown-horizons.org>2011-04-04 22:02:31 +0200
commiteef1d8ea60e3797ba261ebfe61a7d1e165069ed4 (patch)
treec10e397f58af5dafd0d450bb104fb3122bb611e2 /pacman-c++/bonuspoint.cpp
parent47ae4a32e6e81dabbd2784a4b3c9c4ad68076a50 (diff)
downloadfoop-eef1d8ea60e3797ba261ebfe61a7d1e165069ed4.tar.gz
foop-eef1d8ea60e3797ba261ebfe61a7d1e165069ed4.tar.bz2
foop-eef1d8ea60e3797ba261ebfe61a7d1e165069ed4.zip
Use only 1 color format for everything
Simple map parsing for Blocks and Bonus points
Diffstat (limited to 'pacman-c++/bonuspoint.cpp')
-rw-r--r--pacman-c++/bonuspoint.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/pacman-c++/bonuspoint.cpp b/pacman-c++/bonuspoint.cpp
new file mode 100644
index 0000000..67c8250
--- /dev/null
+++ b/pacman-c++/bonuspoint.cpp
@@ -0,0 +1,13 @@
1#include "bonuspoint.h"
2
3namespace {
4 QPixmap *pixmap = 0;
5}
6
7BonusPoint::BonusPoint()
8{
9 if (pixmap == 0) {
10 pixmap = new QPixmap(":/cherry");
11 }
12 setPixmap(*pixmap);
13}