[Pogamut-list] Opponent Scores

julietnpn pogamut-forum at diana.ms.mff.cuni.cz
Sat Jul 31 23:13:49 CEST 2010


Re: Opponent Scores

Author: julietnpn

I know the PlayerScore event reports all bot and player scores, but you have to keep track of the score when the event fires rather than just looking it up when you need it.

IWorldEventListener globalListener = new IWorldEventListener() {
      public void notify(PlayerScore event) {
                //do stuff here
      }
}

> I know that a bot can look up its own score using the AgentInfo class, but is there a way to look up opponent scores?

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





More information about the Pogamut-list mailing list