diff options
| author | manuel <manuel@mausz.at> | 2011-04-13 04:00:48 +0200 |
|---|---|---|
| committer | manuel <manuel@mausz.at> | 2011-04-13 04:00:48 +0200 |
| commit | a117d4bf53cbace2ef97ca3003904c1470643955 (patch) | |
| tree | 78cc58961249e6d2c126aa0a2e6e928e610a121b /pacman-c++/actor.h | |
| parent | 646c9849bc02c64398d5490b633132c0a3291441 (diff) | |
| download | foop-a117d4bf53cbace2ef97ca3003904c1470643955.tar.gz foop-a117d4bf53cbace2ef97ca3003904c1470643955.tar.bz2 foop-a117d4bf53cbace2ef97ca3003904c1470643955.zip | |
try to play the sound more gapless. if that won't work for totycro I'll revert the crap. it makes the code really ugly
Diffstat (limited to 'pacman-c++/actor.h')
| -rw-r--r-- | pacman-c++/actor.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/pacman-c++/actor.h b/pacman-c++/actor.h index 5ec1a59..1739d9f 100644 --- a/pacman-c++/actor.h +++ b/pacman-c++/actor.h | |||
| @@ -46,12 +46,17 @@ 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 | |||
| 49 | private: | 53 | private: |
| 50 | QPixmap m_pix; | 54 | QPixmap m_pix; |
| 51 | Movement m_direction; | 55 | Movement m_direction; |
| 52 | PixmapItem m_icon; | 56 | PixmapItem m_icon; |
| 53 | bool m_local; | 57 | bool m_local; |
| 54 | AudioPlayer *m_wakaPlayer; | 58 | AudioPlayer *m_wakaPlayer1; |
| 59 | AudioPlayer *m_wakaPlayer2; | ||
| 55 | 60 | ||
| 56 | unsigned int m_roundPoints; | 61 | unsigned int m_roundPoints; |
| 57 | unsigned int m_gamePoints; | 62 | unsigned int m_gamePoints; |
