@@ -0,0 +1,1142 @@
+/*%0ACosmic Intruders%0AAuthors: James, Nick, Jon%0A%0AThe class representing the enemy ships%0A*/%0Aimport java.awt.Image;%0Aimport javax.swing.ImageIcon;%0Apublic class Boss%0A%7B%0A    private int mid;%0A    private int dmg;%0A    private int hp;%0A    private int x; //the player's x coordinate%0A    private int y; //the player's y coordinate%0A%09private Image sprite;%0A    private final int l = 300; //the boss sprite's length%0A    private final int h = 250; //the boss sprite's height%0A    public Boss(int windowLength, int bosshp, int bossdmg, String pixie)%0A    %7B%0A%09%09sprite = new ImageIcon(%22GameApp%22.getClass().getResource(pixie)).getImage();%0A        mid = (windowLength - l)/2;%0A%09%09    y = 0;%0A        x = mid;%0A%09%09    hp = bosshp;%0A%09%09    dmg = bossdmg;%0A    %7D%0A    public void setX(int value)%0A    %7B%0A        x = value;%0A    %7D%0A    public void setY(int value)%0A    %7B%0A        y = value;%0A    %7D%0A    public int getX()%0A    %7B%0A        return x;%0A    %7D%0A    public int getY()%0A    %7B%0A        return y;%0A    %7D%0A    public Image getSprite()%0A    %7B%0A        return sprite;%0A    %7D%0A%09public void hit() //when the boss gets hit%0A    %7B%0A%09%09  hp--;%0A    %7D%0A    public int getDMG()%0A    %7B%0A      return dmg;%0A    %7D%0A%7D%0A

Create Boss.java