summaryrefslogtreecommitdiffstats
path: root/pacman-c++/block.h
diff options
context:
space:
mode:
authormanuel <manuel@mausz.at>2011-04-05 01:29:33 +0200
committermanuel <manuel@mausz.at>2011-04-05 01:29:33 +0200
commit4232f8450d896068713d988cf5541835c3818682 (patch)
tree470916a3e1978419d41115eb1e87a0928769e03c /pacman-c++/block.h
parent3dba415cd9741874cdaf0781d7e725808c8a2b8d (diff)
downloadfoop-4232f8450d896068713d988cf5541835c3818682.tar.gz
foop-4232f8450d896068713d988cf5541835c3818682.tar.bz2
foop-4232f8450d896068713d988cf5541835c3818682.zip
- we love ogg, we hate mp3/wav
- a lot of coding style/intent fix - add constant.h to pro files
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