package edu.stuy.upgrades;

/*
 * Upgrades that modify a ship's gun/shots
 */
public class GunUpgrade extends Upgrade {

    /*
     * Gives an angle this ship should aim at, measured in radians,
     * From the vertical axis.
     */
    public double getAimAngle() {
        return 0; // Aim straight.
    }
    /* 
     * Given the amount of damage that would be done, tell how much should be done.
     */
    public int getDamage(int damage) {
        return damage;
    }
}

@@ -118,112 +118,484 @@
  %7B%0A%0A
-    /*%0A     * Gives an angle this ship should aim at, measured in radians,%0A     * From the vertical axis
+%0A    /*%0A     * Returns the number of shots this upgrade allows for.%0A     * The player's ship should choose the highest of these from its upgrades.%0A     */%0A    public int getNumShots() %7B%0A        return 1;%0A    %7D%0A    /*%0A     * Gives an angle this ship should aim at, measured in radians,%0A     * From the vertical axis.%0A     * It should use the value given by the upgrade with the highest numShots%0A     * Called for each shot, so it should probably keep track of which one it's at
 .%0A  
@@ -767,16 +767,56 @@
 e done.%0A
+     * Multipliers, buffs, etc go here.%0A
      */%0A

Allow GunUpgrades to change the number of shots.