public static bool AreRequirementsMet(this ICharacterRequirementChecker characterRequirementChecker, ITriggerStateVariables triggerState, IHasRequirements hasRequirements) { return(hasRequirements.Requirements.All(x => characterRequirementChecker.IsRequirementMet(triggerState, x))); }
public static bool AreRequirementsMet(this ICharacterRequirementChecker characterRequirementChecker, ICharacter character, IHasRequirements hasRequirements) { return(hasRequirements.Requirements.All(x => characterRequirementChecker.IsRequirementMet(character, x))); }