public void move() {
        EH = imgHeight + y - 30;
        EW = imgWidth + x - 30;
        x += dx;
        y += dy;
         Bullet.SetEnemy(x, y, EH, EW, k);

        if (k == 1 || k == 2) {
            if (X > x) {
                dx = nSpeed;
            } else if (X < x) {
                dx = -nSpeed;
            } else {
                dx = 0;
            }
            if (Y > y) {
                dy = nSpeed;
            } else if (Y < y) {
                dy = -nSpeed;
            } else {
                dy = 0;
            }
            
        }
    }