diff options
| author | manuel <manuel@mausz.at> | 2011-04-14 02:37:31 +0200 |
|---|---|---|
| committer | manuel <manuel@mausz.at> | 2011-04-14 02:37:31 +0200 |
| commit | b18385a95f25e13c767244b494f31bd4fc238143 (patch) | |
| tree | af389057a2d4a03565f70186d7c1d2e49b95828f /pacman-c++/actor.h | |
| parent | 3d20638fa8e295271ce38953ad1c657d9275bd99 (diff) | |
| download | foop-b18385a95f25e13c767244b494f31bd4fc238143.tar.gz foop-b18385a95f25e13c767244b494f31bd4fc238143.tar.bz2 foop-b18385a95f25e13c767244b494f31bd4fc238143.zip | |
encapsulate gapless audioplayer commit from yesterday into an own class (gaplessaudioplayer)
added two new menu entrys: toggle sound + toggle ambient sound (2. very useful!)
Diffstat (limited to 'pacman-c++/actor.h')
| -rw-r--r-- | pacman-c++/actor.h | 7 |
1 files changed, 1 insertions, 6 deletions
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: | |||
| 46 | private: | 46 | private: |
| 47 | void moveByServer(Movement direction); | 47 | void moveByServer(Movement direction); |
| 48 | 48 | ||
| 49 | private slots: | ||
| 50 | void startPlayer1(); | ||
| 51 | void startPlayer2(); | ||
| 52 | |||
| 53 | private: | 49 | private: |
| 54 | QPixmap m_pix; | 50 | QPixmap m_pix; |
| 55 | Movement m_direction; | 51 | Movement m_direction; |
| 56 | PixmapItem m_icon; | 52 | PixmapItem m_icon; |
| 57 | bool m_local; | 53 | bool m_local; |
| 58 | AudioPlayer *m_wakaPlayer1; | 54 | GaplessAudioPlayer *m_wakaPlayer; |
| 59 | AudioPlayer *m_wakaPlayer2; | ||
| 60 | 55 | ||
| 61 | unsigned int m_roundPoints; | 56 | unsigned int m_roundPoints; |
| 62 | unsigned int m_gamePoints; | 57 | unsigned int m_gamePoints; |
