Package robocode
Class BulletHitBulletEvent
- java.lang.Object
-
- robocode.Event
-
- robocode.BulletHitBulletEvent
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<Event>
public final class BulletHitBulletEvent extends Event
This event is sent toonBulletHitBulletwhen one of your bullets has hit another bullet.- Author:
- Mathew A. Nelson (original), Flemming N. Larsen (contributor)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BulletHitBulletEvent(Bullet bullet, Bullet hitBullet)Called by the game to create a newBulletHitEvent.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BulletgetBullet()Returns your bullet that hit another bullet.BulletgetHitBullet()Returns the bullet that was hit by your bullet.-
Methods inherited from class robocode.Event
compareTo, getPriority, getTime, setPriority, setTime
-
-