From fae7c3377c8995b217e620c5cf1e963b3ab1e84a Mon Sep 17 00:00:00 2001 From: manuel Date: Tue, 12 Apr 2011 16:22:19 +0200 Subject: finding out which actor has eaten which element didn't work correctly. instead of checking that on client side the server now just sends the id of the actor withing the explicit empty id data field --- pacman-c++/actor.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'pacman-c++/actor.h') diff --git a/pacman-c++/actor.h b/pacman-c++/actor.h index d1875f1..ae04687 100644 --- a/pacman-c++/actor.h +++ b/pacman-c++/actor.h @@ -35,6 +35,7 @@ public: bool isMoving(); void die(); void eatingCherry(); + AudioPlayer *wakaPlayer(); unsigned int getRoundPoints(); unsigned int getGamePoints(); @@ -50,7 +51,7 @@ private: Movement m_direction; PixmapItem m_icon; bool m_local; - AudioPlayer *m_player; + AudioPlayer *m_wakaPlayer; unsigned int m_roundPoints; unsigned int m_gamePoints; -- cgit v1.2.3