/// <summary> /// Reports that the given actor has gained the given ability. /// </summary> /// <param name="actor">Actor.</param> /// <param name="ability">Ability.</param> public void GainAbility(INamed actor, IAbility ability) { EnsureNotFinalised(); AddReportable(new Reportable { ActorName = actor.Name, Type = ReportableType.GainAbility, Report = ability.GetReport(actor), Category = currentPerformanceType, }); }