From 85b09864f6d489e8c998e9f172d25079d572c602 Mon Sep 17 00:00:00 2001 From: manuel Date: Mon, 18 Apr 2011 19:47:34 +0200 Subject: - 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 --- pacman-c++/actor.h | 1 + 1 file changed, 1 insertion(+) (limited to 'pacman-c++/actor.h') 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: void eatingPacman(); void startEating(); void stopEating(); + bool canEat(Actor *other, const QList &order); unsigned int getRoundPoints(); unsigned int getGamePoints(); -- cgit v1.2.3