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.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/pacman-c++/block.h b/pacman-c++/block.h
index 25a331c..1e76aa9 100644
--- a/pacman-c++/block.h
+++ b/pacman-c++/block.h
@@ -1,14 +1,21 @@
1#ifndef BLOCK_H 1#ifndef BLOCK_H
2#define BLOCK_H 2#define BLOCK_H
3 3
4#include <map>
5
4#include "pixmapitem.h" 6#include "pixmapitem.h"
5#include "actor.h" 7#include "actor.h"
6 8
9
7class Block 10class Block
8 : public PixmapItem { 11 : public PixmapItem {
9public: 12public:
10 Block(Actor::Type type); 13 Block(Actor::Type type);
11 14
15 private:
16 // map for saving QPixmaps for reuse
17 std::map<Actor::Type, QPixmap> m_pixmaps;
18
12}; 19};
13 20
14#endif // BLOCK_H 21#endif // BLOCK_H