[Pogamut-list] Fwd: Logic Exception
Sören Dierkes
soeren.dierkes at informatik.uni-oldenburg.de
Mon Jul 11 17:35:17 CEST 2011
Im such a fish, please ignore it. :-(
-------- Original-Nachricht --------
Betreff: Logic Exception
Datum: Mon, 11 Jul 2011 16:59:34 +0200
Von: Sören Dierkes <soeren.dierkes at informatik.uni-oldenburg.de>
An: pogamut-list at amis.mff.cuni.cz
Hi,
I wrote a simple Bot with a Bayes Classifier, but I got a few Problems.
A simple method like:
protected void stateHit() {
log.info("Decision is: HIT");
enemy =
players.getNearestVisiblePlayer(players.getVisibleEnemies().values());
if (oldAction != Action.GET_ATTACKED) {
while(!enemy.isVisible()) {
getAct().act(new Rotate(2000,"left"));
oldAction = Action.GET_ATTACKED;
}
}
}
throws a logic iteration exception. This method works fine before, maybe
someone can help me.
Thanks
Sören
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://artemis.ms.mff.cuni.cz/pipermail/pogamut-list/attachments/20110711/7c754d1c/attachment-0002.html>
More information about the Pogamut-list
mailing list