robocode.robotinterfaces
Interface IAdvancedRobot
- IBasicRobot
- ITeamRobot
- AdvancedRobot, TeamRobot
public interface IAdvancedRobot
A robot interface for creating a more advanced type of robot like
AdvancedRobot
that is able to handle advanced robot events.
An advanced robot allows non-blocking calls, custom events, get notifications
about skipped turns, and also allow writes to the file system.
- Pavel Savara (original)
- Flemming N. Larsen (javadoc)
getAdvancedEventListener
public IAdvancedEvents getAdvancedEventListener()
This method is called by the game to notify this robot about advanced
robot event. Hence, this method must be implemented so it returns your
IAdvancedEvents
listener.
- listener to advanced events or
null
if this robot should
not receive the notifications.