JuniorRobot Ahead Method Robocode Robot API for .NET
Moves this robot forward by pixels.

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

public void Ahead(
	int distance
)

Parameters

distance
Type: OnlineSystem Int32
The amount of pixels to move forward
See Also