diff options
| author | manuel <manuel@mausz.at> | 2011-04-17 20:32:55 +0200 |
|---|---|---|
| committer | manuel <manuel@mausz.at> | 2011-04-17 20:32:55 +0200 |
| commit | 2fcca70231dbc34faa46254860fae438169c1e08 (patch) | |
| tree | 3b9593126c682be47e7925c2e00a2336e895ee3d /pacman-c++/server.h | |
| parent | 19c9c38d28cdaafcc1b496027f53dcd1914037cf (diff) | |
| download | foop-2fcca70231dbc34faa46254860fae438169c1e08.tar.gz foop-2fcca70231dbc34faa46254860fae438169c1e08.tar.bz2 foop-2fcca70231dbc34faa46254860fae438169c1e08.zip | |
if a player disconnect the player will now be a bot
Diffstat (limited to 'pacman-c++/server.h')
| -rw-r--r-- | pacman-c++/server.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pacman-c++/server.h b/pacman-c++/server.h index a50cfe3..1a25137 100644 --- a/pacman-c++/server.h +++ b/pacman-c++/server.h | |||
| @@ -39,6 +39,7 @@ protected: | |||
| 39 | 39 | ||
| 40 | protected: | 40 | protected: |
| 41 | QMap<Color::Color, QTcpSocket *> m_clientConnections; | 41 | QMap<Color::Color, QTcpSocket *> m_clientConnections; |
| 42 | QList<Color::Color> m_bots; | ||
| 42 | 43 | ||
| 43 | /* current movements. required to make pacmans continue their movement */ | 44 | /* current movements. required to make pacmans continue their movement */ |
| 44 | QMap<Color::Color, Actor::Movement> m_actorMovements; | 45 | QMap<Color::Color, Actor::Movement> m_actorMovements; |
