void sumarPuntaje(int puntaje)
 {
     if (logica != null)
     {
         logica.anadirPuntos(puntaje);
     }
 }
    void ObjetivoEstaMuriendo(GameObject objeto, vida.motivoDeMuerte motivo)
    {
        Vida tmpvida = objeto.GetComponent <Vida> ();

        if (tmpvida != null)
        {
            tmpvida.estaMueriendo -= ObjetivoEstaMuriendo;
            if (motivo == motivoDeMuerte.SinVida)
            {
                logicalDelNivel.anadirPuntos(tmpvida.PuntosDeRecompensaAlMorir);
            }
        }
    }