[Pogamut-list] Player Vs Player

rudolf.kadlec pogamut-forum at artemis.ms.mff.cuni.cz
Wed May 7 22:49:07 CEST 2008


Re: Re: Re: Re: Re: Re: Re: Re: Re: Player Vs Player
The line:
If see enemy then {shoot at him; return;}

is only a pseudocode. In order to compile the Khepera you have to supply this code:

if(memory.getSeeAnyEnemy()) {
body.shoot(memory.getSeeEnemy());
return;
}

Cheers

----

Reply Link: <https://artemis.ms.mff.cuni.cz/pogamut/tiki-view_forum_thread.php?forumId=6&comments_reply_threadId=167&comments_parentId=118&post_reply=1#form>





More information about the Pogamut-list mailing list