IBasicEvents OnBulletHit Method Robocode Robot API for .NET
This method is called when one of your bullets hits another robot. You should override it in your robot if you want to be informed of this event.

Examples

public void OnBulletHit(BulletHitEvent evnt)
{
    Out.WriteLine("I hit " + evnt.Name + "!");
}

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

void OnBulletHit(
	BulletHitEvent evnt
)
See Also