IPaintRobot MembersRobocode Robot API for .NET

The IPaintRobot 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 methodGetPaintEventListener
This method is called by the game to notify this robot about painting events. Hence, this method must be implemented so it returns your IPaintEvents 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