public NipplePiercingLocation(byte index, CompatibleWith allowsJewelryOfType, SimpleDescriptor btnText, SimpleDescriptor locationDesc) : base(allowsJewelryOfType, btnText, locationDesc) { this.index = index; if (!_allLocations.Contains(this)) { _allLocations.Add(this); } }
private protected PiercingLocation(CompatibleWith allowsJewelryOfType, SimpleDescriptor btnText, SimpleDescriptor locationDesc) { compatibleWith = allowsJewelryOfType ?? throw new ArgumentNullException(nameof(allowsJewelryOfType)); buttonText = btnText ?? throw new ArgumentNullException(nameof(btnText)); description = locationDesc ?? throw new ArgumentNullException(nameof(locationDesc)); }