public override bool RecevoirDegats(Arme source) { this.PointsDeVie -= source.Degats; if (this.PointsDeVie <= 0) { return(false); } return(true); }
public override bool RecevoirDegats(Arme source) { Console.WriteLine("Je suis attaqué. J'ai pris " + source.Degats); this.PointsDeVie -= source.Degats; if (this.PointsDeVie <= 0) { return(false); } return(true); }
public abstract bool RecevoirDegats(Arme source);