JuniorRobot OnHitByBullet Method Robocode Robot API for .NET
This event method is called from the game when this robot has been hit by another robot's bullet. When this event occurs the HitByBulletAngle and HitByBulletBearing fields values are automatically updated.

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

public virtual void OnHitByBullet()
See Also