package edu.stuy.starlorn.upgrades;

public class DualShotUpgrade extends GunUpgrade {
    private boolean _right;

    public DualShotUpgrade() {
        super();
        _right = true;
    }

    @Override
    public int getNumShots() {
        return 2;
    }

    @Override
    public double getXOffset() {
        int direction = 0;
        if (_right) {
            _right = !_right;
            direction = 1;
        } else if (!_right) {
            _right = !_right;
            direction = -1;
        }
        return direction * 10;
    }
}

@@ -286,14 +286,11 @@
 lic 
-double
+int
  get

Fix type mismatch in DualShotUpgrade