From 6c44b14d2bae2120c069ab205f95b2e51de2caea Mon Sep 17 00:00:00 2001 From: manuel Date: Mon, 11 Apr 2011 13:42:28 +0200 Subject: make constants::server extern code cleanup --- pacman-c++/block.h | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'pacman-c++/block.h') 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 : public PixmapItem { public: - enum Neighbour { + enum Neighbour + { None = 0, Left = (1 << 0), Right = (1 << 1), @@ -23,8 +24,11 @@ public: {}; void setNeighbours(unsigned int neighbours); - - virtual bool checkEnter(Actor *actor) { Q_UNUSED(actor); return false; } // TODO: colored blocks + virtual bool checkEnter(Actor *) + { + /* TODO: colored blocks */ + return false; + } private: // map for saving QPixmaps for reuse -- cgit v1.2.3