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.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/pacman-c++/block.h b/pacman-c++/block.h
index b5a4bf3..9e49a7d 100644
--- a/pacman-c++/block.h
+++ b/pacman-c++/block.h
@@ -9,7 +9,8 @@ class Block
9 : public PixmapItem 9 : public PixmapItem
10{ 10{
11public: 11public:
12 enum Neighbour { 12 enum Neighbour
13 {
13 None = 0, 14 None = 0,
14 Left = (1 << 0), 15 Left = (1 << 0),
15 Right = (1 << 1), 16 Right = (1 << 1),
@@ -23,8 +24,11 @@ public:
23 {}; 24 {};
24 25
25 void setNeighbours(unsigned int neighbours); 26 void setNeighbours(unsigned int neighbours);
26 27 virtual bool checkEnter(Actor *)
27 virtual bool checkEnter(Actor *actor) { Q_UNUSED(actor); return false; } // TODO: colored blocks 28 {
29 /* TODO: colored blocks */
30 return false;
31 }
28 32
29private: 33private:
30 // map for saving QPixmaps for reuse 34 // map for saving QPixmaps for reuse