public void addAliens(int x, int y, int numAliens, int loopx) {
        for (int c = 0; c < numAliens; c++) {
            //adds the number of specified enemies in a specified loop
            //the loop is sepearted by the width of each enemy
            alien.add(new Enemy(x + (c * Enemy.width), y, loopx, x));
        }
    }