|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrobocode.Event
robocode.BulletHitBulletEvent
public class BulletHitBulletEvent
This event is sent to onBulletHitBullet
when one of your bullets has hit another bullet.
Constructor Summary | |
---|---|
BulletHitBulletEvent(Bullet bullet,
Bullet hitBullet)
Called by the game to create a new BulletHitEvent. |
Method Summary | |
---|---|
Bullet |
getBullet()
Returns your bullet that hit another bullet. |
Bullet |
getHitBullet()
Returns the bullet that was hit by your bullet. |
Methods inherited from class robocode.Event |
---|
compareTo, getPriority, getTime, setPriority, setTime |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BulletHitBulletEvent(Bullet bullet, Bullet hitBullet)
Method Detail |
---|
public Bullet getBullet()
public Bullet getHitBullet()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |