From 41a31420cf091aeb4e986503387855d41e550106 Mon Sep 17 00:00:00 2001 From: manuel Date: Mon, 25 Apr 2011 14:39:00 +0200 Subject: - add intro sound on every round - add dieing sound - add dieing animation - add die on moving onto colorized block --- pacman-c++/block.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'pacman-c++/block.h') diff --git a/pacman-c++/block.h b/pacman-c++/block.h index 2e47646..abfbc5a 100644 --- a/pacman-c++/block.h +++ b/pacman-c++/block.h @@ -31,7 +31,8 @@ public: unsigned int neighbours(); void setNeighbours(unsigned int neighbours); virtual bool checkEnter(Actor *actor); - virtual bool enter(Actor *actor); + virtual EnteredState enter(Actor *actor); + virtual void onDie(Actor *); private: // map for saving QPixmaps for reuse -- cgit v1.2.3