public interface IInteractiveRobot extends IBasicRobot
Robot and AdvancedRobot that is able to
receive interactive events from the keyboard or mouse.
If a robot is directly inherited from this class it will behave as similar to
a IBasicRobot. If you need it to behave similar to a
IAdvancedRobot or ITeamRobot, you should inherit from these
interfaces instead, as these are inherited from this interface.Robot,
AdvancedRobot,
IBasicRobot,
IJuniorRobot,
IAdvancedRobot,
ITeamRobot| Modifier and Type | Method and Description |
|---|---|
IInteractiveEvents |
getInteractiveEventListener()
This method is called by the game to notify this robot about interactive
events, i.e. keyboard and mouse events.
|
getBasicEventListener, getRobotRunnable, setOut, setPeerIInteractiveEvents getInteractiveEventListener()
IInteractiveEvents listener.null if this robot
should not receive the notifications.Copyright © 2021 Robocode. All Rights Reserved.