Rules GUN_TURN_RATE FieldRobocode Robot API for .NET
The turning rate of the gun measured in degrees, which is 20 degrees/turn. Note, that if AdjustGunForRobotTurn = true has been set, the gun turn is independent of the robot turn. In this case the gun moves relatively to the screen.

If AdjustGunForRobotTurn = false has been set or AdjustGunForRobotTurn has not been called at all (this is the default), then the gun turn is dependent on the robot turn, and in this case the gun moves relatively to the robot body.

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

public static readonly double GUN_TURN_RATE

Field Value

Type: OnlineDouble
See Also