diff options
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()) |
