JuniorRobot ScannedHeading Property Robocode Robot API for .NET
Current heading of the scanned nearest other robot (in degrees). If there is no robot in the radar's sight, this field will be less than 0, i.e -1. This field will not be updated while OnScannedRobot  event is active.

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

public int ScannedHeading { get; }

Property Value

Type: OnlineInt32
See Also