[Pogamut-list] How to make a simple double-dodge??????

aisa87 pogamut-forum at diana.ms.mff.cuni.cz
Sat Apr 9 14:01:20 CEST 2011


Re: How to make a simple double-dodge??????

Author: aisa87

// check if I hit the enemy with any weapon
if (senses.isCausingDamage()){  
   PlayerDamaged playerHit= senses.getLastHitPlayer();

   // If we killed the enemy, reset the information we are guessing about the enemy
   if (senses.isPlayerKilled(enemyId)) { //

-- 
Reply Link: <http://diana.ms.mff.cuni.cz/main/tiki-view_forum_thread.php?forumId=4&comments_reply_threadId=4&comments_parentId=621&post_reply=1#form>





More information about the Pogamut-list mailing list