summaryrefslogtreecommitdiffstats
path: root/pacman-c++/block.cpp
diff options
context:
space:
mode:
authormanuel <manuel@mausz.at>2011-04-06 14:32:09 +0200
committermanuel <manuel@mausz.at>2011-04-06 14:32:09 +0200
commit6dc8b50817fe5da8550c245db755f7014402c62a (patch)
treec2c657b7f7103c436003788d4f0b45758cb2dfd8 /pacman-c++/block.cpp
parent3cdc77bc7d1da312a0c7ae9c734f6a33f1c49ecf (diff)
downloadfoop-6dc8b50817fe5da8550c245db755f7014402c62a.tar.gz
foop-6dc8b50817fe5da8550c245db755f7014402c62a.tar.bz2
foop-6dc8b50817fe5da8550c245db755f7014402c62a.zip
some minor cleanup
Diffstat (limited to 'pacman-c++/block.cpp')
-rw-r--r--pacman-c++/block.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/pacman-c++/block.cpp b/pacman-c++/block.cpp
index 87c69a7..ccb7ade 100644
--- a/pacman-c++/block.cpp
+++ b/pacman-c++/block.cpp
@@ -2,9 +2,9 @@
2#include "constants.h" 2#include "constants.h"
3#include <QtDebug> 3#include <QtDebug>
4 4
5QMap<Color, QPixmap> Block::m_pixmaps; 5QMap<Color::Color, QPixmap> Block::m_pixmaps;
6 6
7Block::Block(Color color, QGraphicsItem *parent) 7Block::Block(Color::Color color, Neighbour neighbour, QGraphicsItem *parent)
8 : PixmapItem(parent) 8 : PixmapItem(parent)
9{ 9{
10 if (m_pixmaps.find(color) == m_pixmaps.end()) 10 if (m_pixmaps.find(color) == m_pixmaps.end())