robocode.robotinterfaces
Interface ITeamRobot
- IAdvancedRobot, IBasicRobot
- TeamRobot
public interface ITeamRobot
A robot interface for creating a team robot like
TeamRobot
that is able to receive team events.
A team robot is an advanced type of robot that supports sending messages
between teammates that participates in a team.
- Pavel Savara (original)
- Flemming N. Larsen (javadoc)
getTeamEventListener
public ITeamEvents getTeamEventListener()
This method is called by the game to notify this robot about team events.
Hence, this method must be implemented so it returns your
ITeamEvents
listener.
- listener to team events or
null
if this robot should
not receive the notifications.