JuniorRobot TurnBackLeft Method Robocode Robot API for .NET
Moves this robot backward by pixels and turns this robot left by degrees at the same time. The robot will move in a curve that follows a perfect circle, and the moving and turning will end at the same time.

Note that the max. velocity and max. turn rate is automatically adjusted, which means that the robot will move slower the sharper the turn is compared to the distance.

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

public void TurnBackLeft(
	int distance,
	int degrees
)

Parameters

distance
Type: OnlineSystem Int32
The amount of pixels to move backward
degrees
Type: OnlineSystem Int32
The amount of degrees to turn to the left
See Also