public static ICommandRequirements LimitTroopType(this ICommandRequirements requirement, IEnumerable <Model.JSON.TroopType> troopTypes) => new LimitTroopTypeModifier(requirement) { AllowedTypes = troopTypes.ToArray() };
public LimitTroopTypeModifier(ICommandRequirements innerRequirement) { this.innerRequirement = innerRequirement; }