diff options
Diffstat (limited to 'pacman-c++/sceneholder.h')
| -rw-r--r-- | pacman-c++/sceneholder.h | 3 |
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 | ||
