summaryrefslogtreecommitdiffstats
path: root/pacman-c++/mainwidget.h
diff options
context:
space:
mode:
authortotycro <totycro@unknown-horizons.org>2011-04-09 19:20:13 +0200
committertotycro <totycro@unknown-horizons.org>2011-04-09 19:20:13 +0200
commit4f88849caf6533d965849952c9ea153fd8c518c5 (patch)
tree809d22c6a8fab16dc32eaf0c22fb65d57640f72f /pacman-c++/mainwidget.h
parent4e3c33632e811d5b57c9b61ec7f219fa06856fd2 (diff)
downloadfoop-4f88849caf6533d965849952c9ea153fd8c518c5.tar.gz
foop-4f88849caf6533d965849952c9ea153fd8c518c5.tar.bz2
foop-4f88849caf6533d965849952c9ea153fd8c518c5.zip
first version of multiplayer
Diffstat (limited to 'pacman-c++/mainwidget.h')
-rw-r--r--pacman-c++/mainwidget.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/pacman-c++/mainwidget.h b/pacman-c++/mainwidget.h
index 6adc876..eaa8be0 100644
--- a/pacman-c++/mainwidget.h
+++ b/pacman-c++/mainwidget.h
@@ -6,6 +6,7 @@
6#include "pixmapitem.h" 6#include "pixmapitem.h"
7#include <QtGui> 7#include <QtGui>
8#include <QtCore> 8#include <QtCore>
9#include <QTcpSocket>
9 10
10class Actor; 11class Actor;
11 12
@@ -29,6 +30,7 @@ private:
29 void createMenu(); 30 void createMenu();
30 void updateScore(); 31 void updateScore();
31 bool isRunning(); 32 bool isRunning();
33 bool connectToServer();
32 34
33private slots: 35private slots:
34 void startGame(); 36 void startGame();
@@ -47,6 +49,8 @@ private:
47 49
48 // game running 50 // game running
49 bool m_running; 51 bool m_running;
52
53 QTcpSocket *m_socket;
50}; 54};
51 55
52#endif // MAINWIDGET_H 56#endif // MAINWIDGET_H