diff options
| author | manuel <manuel@mausz.at> | 2011-04-12 16:22:19 +0200 |
|---|---|---|
| committer | manuel <manuel@mausz.at> | 2011-04-12 16:22:19 +0200 |
| commit | fae7c3377c8995b217e620c5cf1e963b3ab1e84a (patch) | |
| tree | 61a091e2799dda061c227be54c39a61a7b83daca /pacman-c++/actor.h | |
| parent | dbeba838ea813b620ec571265c8ea417403fc81c (diff) | |
| download | foop-fae7c3377c8995b217e620c5cf1e963b3ab1e84a.tar.gz foop-fae7c3377c8995b217e620c5cf1e963b3ab1e84a.tar.bz2 foop-fae7c3377c8995b217e620c5cf1e963b3ab1e84a.zip | |
finding out which actor has eaten which element didn't work correctly. instead of checking that on client side the server now just sends the id of the actor withing the explicit empty id data field
Diffstat (limited to 'pacman-c++/actor.h')
| -rw-r--r-- | pacman-c++/actor.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pacman-c++/actor.h b/pacman-c++/actor.h index d1875f1..ae04687 100644 --- a/pacman-c++/actor.h +++ b/pacman-c++/actor.h | |||
| @@ -35,6 +35,7 @@ public: | |||
| 35 | bool isMoving(); | 35 | bool isMoving(); |
| 36 | void die(); | 36 | void die(); |
| 37 | void eatingCherry(); | 37 | void eatingCherry(); |
| 38 | AudioPlayer *wakaPlayer(); | ||
| 38 | 39 | ||
| 39 | unsigned int getRoundPoints(); | 40 | unsigned int getRoundPoints(); |
| 40 | unsigned int getGamePoints(); | 41 | unsigned int getGamePoints(); |
| @@ -50,7 +51,7 @@ private: | |||
| 50 | Movement m_direction; | 51 | Movement m_direction; |
| 51 | PixmapItem m_icon; | 52 | PixmapItem m_icon; |
| 52 | bool m_local; | 53 | bool m_local; |
| 53 | AudioPlayer *m_player; | 54 | AudioPlayer *m_wakaPlayer; |
| 54 | 55 | ||
| 55 | unsigned int m_roundPoints; | 56 | unsigned int m_roundPoints; |
| 56 | unsigned int m_gamePoints; | 57 | unsigned int m_gamePoints; |
