diff options
Diffstat (limited to 'pacman-c++/server.h')
| -rw-r--r-- | pacman-c++/server.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/pacman-c++/server.h b/pacman-c++/server.h index dc8de88..6dd138b 100644 --- a/pacman-c++/server.h +++ b/pacman-c++/server.h | |||
| @@ -37,12 +37,11 @@ protected: | |||
| 37 | QPoint addRandomPoint(Transmission::map_t map, Transmission::field_t type = Transmission::bonuspoint); | 37 | QPoint addRandomPoint(Transmission::map_t map, Transmission::field_t type = Transmission::bonuspoint); |
| 38 | void colorizeBlocks(Transmission::map_t map); | 38 | void colorizeBlocks(Transmission::map_t map); |
| 39 | void botCalculate(Actor *actor); | 39 | void botCalculate(Actor *actor); |
| 40 | void initRoundMap(); | ||
| 40 | 41 | ||
| 41 | protected slots: | 42 | protected slots: |
| 42 | // TODO: call this when a pacman get's eaten | 43 | /* called when a round is finished */ |
| 43 | void onRoundFinished(); // called when a round is finished | 44 | void onRoundFinished(); |
| 44 | protected: | ||
| 45 | void initRoundMap(bool firstPacket = false); // creates new round map | ||
| 46 | 45 | ||
| 47 | protected: | 46 | protected: |
| 48 | QMap<Color::Color, QTcpSocket *> m_clientConnections; | 47 | QMap<Color::Color, QTcpSocket *> m_clientConnections; |
