diff options
| author | manuel <manuel@mausz.at> | 2011-04-06 14:32:09 +0200 |
|---|---|---|
| committer | manuel <manuel@mausz.at> | 2011-04-06 14:32:09 +0200 |
| commit | 6dc8b50817fe5da8550c245db755f7014402c62a (patch) | |
| tree | c2c657b7f7103c436003788d4f0b45758cb2dfd8 /pacman-c++/block.cpp | |
| parent | 3cdc77bc7d1da312a0c7ae9c734f6a33f1c49ecf (diff) | |
| download | foop-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.cpp | 4 |
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 | ||
| 5 | QMap<Color, QPixmap> Block::m_pixmaps; | 5 | QMap<Color::Color, QPixmap> Block::m_pixmaps; |
| 6 | 6 | ||
| 7 | Block::Block(Color color, QGraphicsItem *parent) | 7 | Block::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()) |
