/**
 * Write a description of class BulletBillGun here.
 * 
 * @author Jannis Andrija Schnitzer
 * @version 2011-01-16
 */
public class BulletBillGun  extends Gun 
{
    public BulletBillGun() {
        this(1.0, 0.0);
    }
    public BulletBillGun(double frak, double you)
    {
        super(frak, you);
        recovery = 10;
        dy = 50;
    }
    public BulletBill missile() {
        if (timer <= 0) {
            // return bullet
            BulletBill billyboy = new BulletBill();
            billyboy.setSpeed(speed);
            timer = recovery;
            return billyboy;
        }
        else
        {
            return null;
        }
    }
}
