From b695f67ef718724144a3a5c4be42be373b0f691f Mon Sep 17 00:00:00 2001 From: manuel Date: Mon, 11 Apr 2011 17:30:47 +0200 Subject: implement pointsleft counter --- pacman-c++/server.h | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'pacman-c++/server.h') diff --git a/pacman-c++/server.h b/pacman-c++/server.h index 8d73d24..d791c15 100644 --- a/pacman-c++/server.h +++ b/pacman-c++/server.h @@ -19,25 +19,24 @@ public: protected slots: void tick(); - // receive updates of client + /* receive updates of client */ void keyPressUpdate(); protected: - - // block until we have connections from all clients + /* block until we have connections from all clients */ void waitForClientConnections(); - // calculate updates of current tick for sending to client + /* calculate updates of current tick for sending to client */ Transmission::map_t calculateUpdates(); QSharedPointer createUpdatePacket(Transmission::map_t); - // update client maps + /* update client maps */ void sendUpdate(QSharedPointer); QMap m_clientConnections; - // current movements. required to make pacmans continue their movement. + /* current movements. required to make pacmans continue their movement */ QMap m_actorMovements; }; -- cgit v1.2.3