From d0eafb0124a39eeda6c00595a943ce9811d589c4 Mon Sep 17 00:00:00 2001 From: manuel Date: Sun, 10 Apr 2011 20:50:54 +0200 Subject: major audio rewrite --- pacman-c++/actor.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'pacman-c++/actor.h') 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 @@ #include "pixmapitem.h" #include "constants.h" +#include "audio.h" #include #include #include @@ -39,15 +40,13 @@ public: void addRoundPoints(unsigned int amount) { m_roundPoints += amount; } void finishRound() { m_gamePoints += m_roundPoints; m_roundPoints = 0; } -private slots: - void enqueue(); - private: QPixmap m_pix; Color::Color m_color; Movement m_direction; PixmapItem m_icon; bool m_local; + AudioPlayer *m_player; unsigned int m_roundPoints, m_gamePoints; -- cgit v1.2.3