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

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

public int HitByBulletBearing { get; }

Property Value

Type: OnlineInt32
See Also