public boolean fire(TableroDos enemy, int x, int y){
        if(enemy.shipMap[x][y]!=" " && this.map.fireMap[x][y]!="x" && this.map.fireMap[x][y]!="o"){
            String nameBarco=enemy.shipMap[x][y].substring(0,2);
            switch (nameBarco) {
                case "A-":
                    this.puntos+=4;
                    this.de5--;
                    break;
                case "B-":
                    this.puntos+=3;
                    this.de4--;
                    break;   
                case "C-":
                    this.puntos+=2;
                    this.de3--;
                    break;  
                case "D-":
                    this.puntos+=1;
                    this.de2--;
                    break; 
            }
            
            this.map.fireMap[x][y]="x";
            this.enemy.posicionesMapaHome[x][y].setIcon(new ImageIcon(getClass().getResource("/imagenes/fire.gif")));
            return true;
        }else{
            this.puntos++;
            this.map.fireMap[x][y]="o";
            return false;
        }
    }