Serializable
, Comparable<Event>
public final class BulletHitBulletEvent extends Event
onBulletHitBullet
when one of your bullets has hit another bullet.Constructor | Description |
---|---|
BulletHitBulletEvent(Bullet bullet,
Bullet hitBullet) |
Called by the game to create a new
BulletHitEvent . |
Modifier and Type | Method | 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 © 2018. All rights reserved.