How can I identify the first robot that found a enemy from a team of the same class?

[email protected] Fri, 29 May 2015 09:40:12 -0700 (PDT)
Newsgroups gmane.comp.java.robocode
Message-ID <[email protected]>
Hi folks!


I've develop a robot team (TeamRobot) where it is an instance of the same 
class and I'd like to know how I can identify the team bot which have found 
the enemy first by using onScannedRobot event.  

I'm trying to implement an action that shows me what bot found first the 
enemy by using onPaint event ou a simple message on Console, but it is not 
working here... 


Anyone has some idea to help me?


-- 
You received this message because you are subscribed to the Google Groups "robocode" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.