public Image getImage() {
        img = arnEnemy[k];
        if (nHit == nEXP) {
            k = 0;
            x = 3000;
            y = 3000;
            nSpawn++;
            if (nSpawn >= 20) {
                nSpawn = 0;
                x = 100;
                y = 100;
                nEXP += 5;
            }
            return img;
        }
            if (X >= x) {
                k = 1;
                return img;
            }
            if (X <= x) {
                k = 2;
                return img;
            }
        return img;
    }