Robot ClassRobocode Robot API for .NET
The basic robot class that you will extend to create your own robots.

Please note the following standards will be used:

heading - absolute angle in degrees with 0 facing up the screen, positive clockwise. 0 <= heading < 360.

bearing - relative angle to some obj from your robot's heading, positive clockwise. -180 < bearing <= 180

All coordinates are expressed as (x,y). All coordinates are positive.

The origin (0,0) is at the bottom left of the screen.

Positive X is right. Positive Y is up.
Online Building your first robot
Inheritance Hierarchy

OnlineSystem Object
  Robocode Robot
    Robocode AdvancedRobot

Namespace: Robocode
Assembly: robocode (in robocode.dll) Version:

public abstract class Robot : IInteractiveRobot, 
	IPaintRobot, IBasicRobot, IBasicEvents3, IBasicEvents2, IBasicEvents, 
	IInteractiveEvents, IPaintEvents, IRunnable
See Also