|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgame.core.Sprite
game.core.Bullet
game.core.ExplodingBullet
public class ExplodingBullet
Field Summary | |
---|---|
(package private) int |
exp
|
(package private) double |
life
|
Fields inherited from class game.core.Bullet |
---|
owner |
Fields inherited from class game.core.Sprite |
---|
age, dx, dy, r, x, y |
Constructor Summary | |
---|---|
ExplodingBullet(double x,
double y,
double dx,
double dy,
Rocket owner,
int exp)
|
Method Summary | |
---|---|
java.util.ArrayList<Bullet> |
explode()
|
boolean |
isTooOld()
|
Methods inherited from class game.core.Bullet |
---|
clone, getOwner |
Methods inherited from class game.core.Sprite |
---|
getDX, getDY, getSize, getX, getY, touches, updatePositionWrap |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
int exp
double life
Constructor Detail |
---|
public ExplodingBullet(double x, double y, double dx, double dy, Rocket owner, int exp)
Method Detail |
---|
public boolean isTooOld()
isTooOld
in class Bullet
public java.util.ArrayList<Bullet> explode()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |