From 3d20638fa8e295271ce38953ad1c657d9275bd99 Mon Sep 17 00:00:00 2001 From: manuel Date: Wed, 13 Apr 2011 17:41:28 +0200 Subject: some speed improvments regarding protobuf --- pacman-c++/block.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'pacman-c++/block.h') diff --git a/pacman-c++/block.h b/pacman-c++/block.h index db104e3..2f388c8 100644 --- a/pacman-c++/block.h +++ b/pacman-c++/block.h @@ -24,11 +24,8 @@ public: {}; void setNeighbours(unsigned int neighbours); - virtual bool checkEnter(Actor *) - { - /* TODO: colored blocks */ - return false; - } + virtual bool checkEnter(Actor *actor); + virtual bool enter(Actor *actor); private: // map for saving QPixmaps for reuse -- cgit v1.2.3