diff options
Diffstat (limited to 'pacman-c++/server/server.h')
| -rw-r--r-- | pacman-c++/server/server.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/pacman-c++/server/server.h b/pacman-c++/server/server.h index 857f23d..26c1af2 100644 --- a/pacman-c++/server/server.h +++ b/pacman-c++/server/server.h | |||
| @@ -11,8 +11,6 @@ extern "C" { | |||
| 11 | #include "enet/enet.h" | 11 | #include "enet/enet.h" |
| 12 | } | 12 | } |
| 13 | 13 | ||
| 14 | class QTcpSocket; | ||
| 15 | |||
| 16 | class Server | 14 | class Server |
| 17 | : public SceneHolder | 15 | : public SceneHolder |
| 18 | { | 16 | { |
| @@ -27,8 +25,8 @@ protected slots: | |||
| 27 | void tick(); | 25 | void tick(); |
| 28 | 26 | ||
| 29 | /* receive updates of client */ | 27 | /* receive updates of client */ |
| 30 | void keyPressUpdate(); | 28 | void readClientUpdates(); |
| 31 | void keyPressUpdate(ENetEvent *event); | 29 | void processClientUpdate(ENetEvent *event); |
| 32 | 30 | ||
| 33 | protected: | 31 | protected: |
| 34 | /* block until we have connections from all clients */ | 32 | /* block until we have connections from all clients */ |
