Robot Heading Property Robocode Robot API for .NET
Returns the direction that the robot's body is facing, in degrees. The value returned will be between 0 and 360 (is excluded).

Note that the heading in Robocode is like a compass, where 0 means North, 90 means East, 180 means South, and 270 means West.

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

public double Heading { get; }

Property Value

Type: OnlineDouble
See Also