JuniorRobot HitByBulletAngle Property Robocode Robot API for .NET
Latest angle from where this robot was hit by a bullet (in degrees). 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:

public int HitByBulletAngle { get; }

Property Value

Type: OnlineInt32
See Also