JuniorRobot TurnBackRight Method Robocode Robot API for .NET
Moves this robot backward by pixels and turns this robot right 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:

public void TurnBackRight(
	int distance,
	int degrees


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