summaryrefslogtreecommitdiffstats
path: root/pacman-c++/mainwidget.h
diff options
context:
space:
mode:
Diffstat (limited to 'pacman-c++/mainwidget.h')
-rw-r--r--pacman-c++/mainwidget.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/pacman-c++/mainwidget.h b/pacman-c++/mainwidget.h
index a3cde3d..cbc195e 100644
--- a/pacman-c++/mainwidget.h
+++ b/pacman-c++/mainwidget.h
@@ -30,6 +30,8 @@ private slots:
30 void playerScoreClicked(); 30 void playerScoreClicked();
31 void tick(); 31 void tick();
32 void sendKeyUpdate(); 32 void sendKeyUpdate();
33 void startPlayer1();
34 void startPlayer2();
33 35
34private: 36private:
35 void createGui(); 37 void createGui();
@@ -49,7 +51,8 @@ private:
49 51
50 /* game running */ 52 /* game running */
51 bool m_running; 53 bool m_running;
52 AudioPlayer *m_sirenPlayer; 54 AudioPlayer *m_sirenPlayer1;
55 AudioPlayer *m_sirenPlayer2;
53 56
54 QTcpSocket *m_socket; 57 QTcpSocket *m_socket;
55 SceneHolder *m_scene; 58 SceneHolder *m_scene;