JuniorRobot OnHitRobot Method Robocode Robot API for .NET
This event method is called from the game when a bullet from this robot has hit another robot. When this event occurs the HitRobotAngle and HitRobotBearing fields values are automatically updated.

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

public virtual void OnHitRobot()
See Also