diff options
| author | manuel <manuel@mausz.at> | 2011-04-18 19:47:34 +0200 |
|---|---|---|
| committer | manuel <manuel@mausz.at> | 2011-04-18 19:47:34 +0200 |
| commit | 85b09864f6d489e8c998e9f172d25079d572c602 (patch) | |
| tree | a6e38da5dc828810b21045d0ac1e4babcf198825 /pacman-c++/actor.h | |
| parent | e373442901064d07791c9739daa380acb1dfbb8c (diff) | |
| download | foop-85b09864f6d489e8c998e9f172d25079d572c602.tar.gz foop-85b09864f6d489e8c998e9f172d25079d572c602.tar.bz2 foop-85b09864f6d489e8c998e9f172d25079d572c602.zip | |
- add actor.canEat(other) to check if actor can eat other (note: that doesn't mean that other can eat actor!!)
- server now generated and sends the colorlist to the server in the first map update packet
- add a better AI
Diffstat (limited to 'pacman-c++/actor.h')
| -rw-r--r-- | pacman-c++/actor.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pacman-c++/actor.h b/pacman-c++/actor.h index 902951b..41ad232 100644 --- a/pacman-c++/actor.h +++ b/pacman-c++/actor.h | |||
| @@ -42,6 +42,7 @@ public: | |||
| 42 | void eatingPacman(); | 42 | void eatingPacman(); |
| 43 | void startEating(); | 43 | void startEating(); |
| 44 | void stopEating(); | 44 | void stopEating(); |
| 45 | bool canEat(Actor *other, const QList<Color::Color> &order); | ||
| 45 | 46 | ||
| 46 | unsigned int getRoundPoints(); | 47 | unsigned int getRoundPoints(); |
| 47 | unsigned int getGamePoints(); | 48 | unsigned int getGamePoints(); |
