public final class BulletHitBulletEvent extends Event
onBulletHitBullet
when one of your bullets has hit another bullet.Constructor and Description |
---|
BulletHitBulletEvent(Bullet bullet,
Bullet hitBullet)
Called by the game to create a new
BulletHitEvent . |
Modifier and Type | Method and Description |
---|---|
Bullet |
getBullet()
Returns your bullet that hit another bullet.
|
Bullet |
getHitBullet()
Returns the bullet that was hit by your bullet.
|
compareTo, getPriority, getTime, setPriority, setTime
Copyright © 2021 Robocode. All Rights Reserved.