public static bool AreRequirementsMet(this ICharacterRequirementChecker characterRequirementChecker, IQuestStateVariables questState, ITriggerStateVariables triggerState, ICharacter character, IHasRequirements hasRequirements) { return(AreRequirementsMet(characterRequirementChecker, character, hasRequirements) && AreRequirementsMet(characterRequirementChecker, questState, hasRequirements) && AreRequirementsMet(characterRequirementChecker, triggerState, hasRequirements)); }
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))); }