RobotStatus DistanceRemaining Property Robocode Robot API for .NET
Returns the distance remaining in the robot's current move measured in pixels.

This call returns both positive and negative values. Positive values means that the robot is currently moving forwards. Negative values means that the robot is currently moving backwards.

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

public double DistanceRemaining { get; }

Property Value

Type: OnlineDouble
See Also