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

Examples

public void OnBulletHitBullet(BulletHitBulletEvent evnt)
{
    Out.WriteLine("I hit a bullet fired by " + evnt.Bullet.Name + "!");
}

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

public virtual void OnBulletHitBullet(
	BulletHitBulletEvent evnt
)

Implements

IBasicEvents OnBulletHitBullet(BulletHitBulletEvent)
See Also