summaryrefslogtreecommitdiffstats
path: root/pacman-c++/sceneholder.h
diff options
context:
space:
mode:
authormanuel <manuel@mausz.at>2011-04-20 02:19:08 +0200
committermanuel <manuel@mausz.at>2011-04-20 02:19:08 +0200
commitbbd2a69a962d15f74a4afcb7b66462eac9fa5008 (patch)
tree17527ce744a9f1c4beb85e953a60f832cdd09068 /pacman-c++/sceneholder.h
parent58ba349f19f98fe3af5332188f5d3dfe4d076807 (diff)
downloadfoop-bbd2a69a962d15f74a4afcb7b66462eac9fa5008.tar.gz
foop-bbd2a69a962d15f74a4afcb7b66462eac9fa5008.tar.bz2
foop-bbd2a69a962d15f74a4afcb7b66462eac9fa5008.zip
game rounds finally implemented:
- game rounds will be detected during the round AND - a new map will be send in the NEXT tick to the clients
Diffstat (limited to 'pacman-c++/sceneholder.h')
-rw-r--r--pacman-c++/sceneholder.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/pacman-c++/sceneholder.h b/pacman-c++/sceneholder.h
index c61de58..9340850 100644
--- a/pacman-c++/sceneholder.h
+++ b/pacman-c++/sceneholder.h
@@ -16,6 +16,7 @@ public:
16 SceneHolder(QObject *parent = 0); 16 SceneHolder(QObject *parent = 0);
17 virtual ~SceneHolder() 17 virtual ~SceneHolder()
18 {}; 18 {};
19 void reset();
19 unsigned int pointsLeft(); 20 unsigned int pointsLeft();
20 void updateMap(const Transmission::map_t& map); 21 void updateMap(const Transmission::map_t& map);
21 void updateMap(const Transmission::map_t& map, const unsigned int x, const unsigned int y); 22 void updateMap(const Transmission::map_t& map, const unsigned int x, const unsigned int y);
@@ -56,7 +57,7 @@ protected:
56 /* a actor can only eat his upper neighbour 57 /* a actor can only eat his upper neighbour
57 * the order of the neighbours is determined by the colors order (sent from server) 58 * the order of the neighbours is determined by the colors order (sent from server)
58 * please note that !pl1.canEat(pl2, ...) doesn't necessarily mean that pl2 can eat pl1 59 * please note that !pl1.canEat(pl2, ...) doesn't necessarily mean that pl2 can eat pl1
59 * order MUST be in this format: [col1, [col2, ..., colN], col1] 60 * order MUST be in this format: [col1, [col2 ... colN], col1]
60 */ 61 */
61 QList<Color::Color> m_eatingorder; 62 QList<Color::Color> m_eatingorder;
62 63