Package robocode
Class BulletMissedEvent
- java.lang.Object
-
- robocode.Event
-
- robocode.BulletMissedEvent
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Event>
public final class BulletMissedEvent extends Event
This event is sent toonBulletMissed
when one of your bullets has missed, i.e. when the bullet has reached the border of the battlefield.- Author:
- Mathew A. Nelson (original), Flemming N. Larsen (contributor)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BulletMissedEvent(Bullet bullet)
Called by the game to create a newBulletMissedEvent
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Bullet
getBullet()
Returns the bullet that missed.-
Methods inherited from class robocode.Event
compareTo, getPriority, getTime, setPriority, setTime
-
-