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.


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

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

void OnBulletHit(
	BulletHitEvent evnt
See Also