summaryrefslogtreecommitdiffstats
path: root/pacman-c++/block.h
diff options
context:
space:
mode:
Diffstat (limited to 'pacman-c++/block.h')
-rw-r--r--pacman-c++/block.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/pacman-c++/block.h b/pacman-c++/block.h
index 25f4f08..793d4a8 100644
--- a/pacman-c++/block.h
+++ b/pacman-c++/block.h
@@ -3,21 +3,19 @@
3 3
4 4
5#include "pixmapitem.h" 5#include "pixmapitem.h"
6
7#include <map>
8
9#include "constants.h" 6#include "constants.h"
7#include <map>
10 8
11 9
12class Block 10class Block
13 : public PixmapItem { 11 : public PixmapItem
12{
14public: 13public:
15 Block(Color color, QGraphicsItem *parent=0); 14 Block(Color color, QGraphicsItem *parent=0);
16 15
17 private: 16 private:
18 // map for saving QPixmaps for reuse 17 // map for saving QPixmaps for reuse
19 static std::map<Color, QPixmap> m_pixmaps; 18 static std::map<Color, QPixmap> m_pixmaps;
20
21}; 19};
22 20
23#endif // BLOCK_H 21#endif // BLOCK_H