game.core
Class ExplodingBullet

java.lang.Object
  extended by game.core.Sprite
      extended by game.core.Bullet
          extended by game.core.ExplodingBullet
All Implemented Interfaces:
java.lang.Cloneable

public class ExplodingBullet
extends Bullet


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

exp

int exp

life

double life
Constructor Detail

ExplodingBullet

public ExplodingBullet(double x,
                       double y,
                       double dx,
                       double dy,
                       Rocket owner,
                       int exp)
Method Detail

isTooOld

public boolean isTooOld()
Overrides:
isTooOld in class Bullet

explode

public java.util.ArrayList<Bullet> explode()