ScannedRobotEvent Distance Property Robocode Robot API for .NET
Returns the distance to the robot (your center to his center).

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

public double Distance { get; }

Property Value

Type: OnlineDouble
See Also