ITeamRobot MembersRobocode Robot API for .NET

The ITeamRobot type exposes the following members.
Methods

  NameDescription
Public methodGetAdvancedEventListener
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.
(Inherited from IAdvancedRobot.)
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 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 methodGetTeamEventListener
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.
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