JuniorRobot HitRobotBearing Property Robocode Robot API for .NET
Latest angle where this robot has hit another robot (in degrees) compared to the body of this robot. If this robot has never hit another robot, this field will be less than 0, i.e. -1. This field will not be updated while OnHitRobot  event is active.

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

public int HitRobotBearing { get; }

Property Value

Type: OnlineInt32
See Also