Class BulletBillGun

java.lang.Object
  extended by Gun
      extended by BulletBillGun

public class BulletBillGun
extends Gun

Shoots BulletBills.


Field Summary
static int BASE_RECOVERY
           
static int DY
           
 
Fields inherited from class Gun
abs_speed, angle, direction, dx, dy, initial_recovery, level, recovery, side, speed, timer
 
Constructor Summary
BulletBillGun()
           
BulletBillGun(double abs_speed, double angle)
           
BulletBillGun(Vector speed)
           
 
Method Summary
 BulletBillGun copy_gun()
          Return an exact copy of this gun.
 BulletBill get_missile()
           
protected  void init()
           
 
Methods inherited from class Gun
get_dx, get_dy, getAbsSpeed, getAngle, getInitialRecovery, getLevel, getRecovery, getSide, getTimer, missile, set_dx, set_dy, setInitialRecovery, setLevel, setRecovery, setSide, setSpeed, setSpeed, setTimer, tick
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BASE_RECOVERY

public static final int BASE_RECOVERY
See Also:
Constant Field Values

DY

public static final int DY
See Also:
Constant Field Values
Constructor Detail

BulletBillGun

public BulletBillGun()

BulletBillGun

public BulletBillGun(double abs_speed,
                     double angle)

BulletBillGun

public BulletBillGun(Vector speed)
Method Detail

init

protected void init()
Overrides:
init in class Gun

copy_gun

public BulletBillGun copy_gun()
Description copied from class: Gun
Return an exact copy of this gun. Used especially in the MoreGuns powerup. TODO: make this more dynamic.

Overrides:
copy_gun in class Gun
See Also:
MoreGuns

get_missile

public BulletBill get_missile()
Overrides:
get_missile in class Gun