summaryrefslogtreecommitdiffstats
path: root/pacman-c++/actor.h
diff options
context:
space:
mode:
authormanuel <manuel@mausz.at>2011-04-13 04:00:48 +0200
committermanuel <manuel@mausz.at>2011-04-13 04:00:48 +0200
commita117d4bf53cbace2ef97ca3003904c1470643955 (patch)
tree78cc58961249e6d2c126aa0a2e6e928e610a121b /pacman-c++/actor.h
parent646c9849bc02c64398d5490b633132c0a3291441 (diff)
downloadfoop-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.h7
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:
46private: 46private:
47 void moveByServer(Movement direction); 47 void moveByServer(Movement direction);
48 48
49private slots:
50 void startPlayer1();
51 void startPlayer2();
52
49private: 53private:
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;