summaryrefslogtreecommitdiffstats
path: root/pacman-c++/block.h
diff options
context:
space:
mode:
authormanuel <manuel@mausz.at>2011-04-11 13:42:28 +0200
committermanuel <manuel@mausz.at>2011-04-11 13:42:28 +0200
commit6c44b14d2bae2120c069ab205f95b2e51de2caea (patch)
tree9fd910c27cb23d22db1cf1681e6791fb0fa0efea /pacman-c++/block.h
parent3b8237b434c9a094dafebbf364b89ab2f4cbd460 (diff)
downloadfoop-6c44b14d2bae2120c069ab205f95b2e51de2caea.tar.gz
foop-6c44b14d2bae2120c069ab205f95b2e51de2caea.tar.bz2
foop-6c44b14d2bae2120c069ab205f95b2e51de2caea.zip
make constants::server extern
code cleanup
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