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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/pacman-c++/block.h b/pacman-c++/block.h
index 2f388c8..6d97a9a 100644
--- a/pacman-c++/block.h
+++ b/pacman-c++/block.h
@@ -23,6 +23,7 @@ public:
23 virtual ~Block() 23 virtual ~Block()
24 {}; 24 {};
25 25
26 unsigned int neighbours();
26 void setNeighbours(unsigned int neighbours); 27 void setNeighbours(unsigned int neighbours);
27 virtual bool checkEnter(Actor *actor); 28 virtual bool checkEnter(Actor *actor);
28 virtual bool enter(Actor *actor); 29 virtual bool enter(Actor *actor);
@@ -30,6 +31,7 @@ public:
30private: 31private:
31 // map for saving QPixmaps for reuse 32 // map for saving QPixmaps for reuse
32 static QMap<Color::Color, QPixmap> m_pixmaps; 33 static QMap<Color::Color, QPixmap> m_pixmaps;
34 unsigned int m_neighbours;
33}; 35};
34 36
35#endif // BLOCK_H 37#endif // BLOCK_H