game.core
Class Bullet

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

public class Bullet
extends Sprite


Field Summary
(package private)  Rocket owner
           
 
Fields inherited from class game.core.Sprite
age, dx, dy, r, x, y
 
Constructor Summary
Bullet(double x, double y, double dx, double dy, Rocket owner)
           
 
Method Summary
 java.lang.Object clone()
           
 Rocket getOwner()
           
 boolean isTooOld()
           
 
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

owner

Rocket owner
Constructor Detail

Bullet

public Bullet(double x,
              double y,
              double dx,
              double dy,
              Rocket owner)
Method Detail

clone

public java.lang.Object clone()
Overrides:
clone in class Sprite

getOwner

public Rocket getOwner()

isTooOld

public boolean isTooOld()