From b18385a95f25e13c767244b494f31bd4fc238143 Mon Sep 17 00:00:00 2001 From: manuel Date: Thu, 14 Apr 2011 02:37:31 +0200 Subject: encapsulate gapless audioplayer commit from yesterday into an own class (gaplessaudioplayer) added two new menu entrys: toggle sound + toggle ambient sound (2. very useful!) --- pacman-c++/actor.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'pacman-c++/actor.h') diff --git a/pacman-c++/actor.h b/pacman-c++/actor.h index 1739d9f..507a8e2 100644 --- a/pacman-c++/actor.h +++ b/pacman-c++/actor.h @@ -46,17 +46,12 @@ public: private: void moveByServer(Movement direction); -private slots: - void startPlayer1(); - void startPlayer2(); - private: QPixmap m_pix; Movement m_direction; PixmapItem m_icon; bool m_local; - AudioPlayer *m_wakaPlayer1; - AudioPlayer *m_wakaPlayer2; + GaplessAudioPlayer *m_wakaPlayer; unsigned int m_roundPoints; unsigned int m_gamePoints; -- cgit v1.2.3