summaryrefslogtreecommitdiffstats
path: root/pacman-c++/actor.h
diff options
context:
space:
mode:
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