Exemple #1
0
        public NipplePiercingLocation(byte index, CompatibleWith allowsJewelryOfType, SimpleDescriptor btnText, SimpleDescriptor locationDesc)
            : base(allowsJewelryOfType, btnText, locationDesc)
        {
            this.index = index;

            if (!_allLocations.Contains(this))
            {
                _allLocations.Add(this);
            }
        }
Exemple #2
0
 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));
 }