summaryrefslogtreecommitdiffstats
path: root/pacman-c++/actor.h
diff options
context:
space:
mode:
authormanuel <manuel@mausz.at>2011-04-10 20:50:54 +0200
committermanuel <manuel@mausz.at>2011-04-10 20:50:54 +0200
commitd0eafb0124a39eeda6c00595a943ce9811d589c4 (patch)
treeb39bea35df3a719c7707950988d180a1516e677d /pacman-c++/actor.h
parent5f7d86446c8d7c8e03ce02f6188ee8dede4a6975 (diff)
downloadfoop-d0eafb0124a39eeda6c00595a943ce9811d589c4.tar.gz
foop-d0eafb0124a39eeda6c00595a943ce9811d589c4.tar.bz2
foop-d0eafb0124a39eeda6c00595a943ce9811d589c4.zip
major audio rewrite
Diffstat (limited to 'pacman-c++/actor.h')
-rw-r--r--pacman-c++/actor.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/pacman-c++/actor.h b/pacman-c++/actor.h
index 965d240..78b7c01 100644
--- a/pacman-c++/actor.h
+++ b/pacman-c++/actor.h
@@ -3,6 +3,7 @@
3 3
4#include "pixmapitem.h" 4#include "pixmapitem.h"
5#include "constants.h" 5#include "constants.h"
6#include "audio.h"
6#include <QtCore/QSequentialAnimationGroup> 7#include <QtCore/QSequentialAnimationGroup>
7#include <QtCore/QParallelAnimationGroup> 8#include <QtCore/QParallelAnimationGroup>
8#include <QList> 9#include <QList>
@@ -39,15 +40,13 @@ public:
39 void addRoundPoints(unsigned int amount) { m_roundPoints += amount; } 40 void addRoundPoints(unsigned int amount) { m_roundPoints += amount; }
40 void finishRound() { m_gamePoints += m_roundPoints; m_roundPoints = 0; } 41 void finishRound() { m_gamePoints += m_roundPoints; m_roundPoints = 0; }
41 42
42private slots:
43 void enqueue();
44
45private: 43private:
46 QPixmap m_pix; 44 QPixmap m_pix;
47 Color::Color m_color; 45 Color::Color m_color;
48 Movement m_direction; 46 Movement m_direction;
49 PixmapItem m_icon; 47 PixmapItem m_icon;
50 bool m_local; 48 bool m_local;
49 AudioPlayer *m_player;
51 50
52 unsigned int m_roundPoints, m_gamePoints; 51 unsigned int m_roundPoints, m_gamePoints;
53 52