JuniorRobot BearGunTo Method Robocode Robot API for .NET
Turns the gun to the specified angle (in degrees) relative to body of this robot. The gun will turn to the side with the shortest delta angle to the specified angle.

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

public void BearGunTo(
	int angle


Type: OnlineSystem Int32
the angle to turn the gun to relative to the body of this robot
See Also