IInteractiveRobot MembersRobocode Robot API for .NET

The IInteractiveRobot type exposes the following members.
Methods

  NameDescription
Public methodGetBasicEventListener
This method is called by the game to notify this robot about basic robot event. Hence, this method must be implemented so it returns your IBasicEvents listener.
(Inherited from IBasicRobot.)
Public methodGetInteractiveEventListener
This method is called by the game to notify this robot about interactive events, i.e. keyboard and mouse events. Hence, this method must be implemented so it returns your IInteractiveEvents listener.
Public methodGetRobotRunnable
This method is called by the game to invoke the Run  method of your robot, where the program of your robot is implemented.
(Inherited from IBasicRobot.)
Public methodSetOut
Do not call this method!

This method is called by the game when setting the Out stream for your robot.
(Inherited from IBasicRobot.)
Public methodSetPeer
Do not call this method! Your robot will simply stop interacting with the game.

This method is called by the game. A robot peer is the object that deals with game mechanics and rules, and makes sure your robot abides by them.
(Inherited from IBasicRobot.)
Back to Top
See Also