Mercurial > repos > IBDev-IBBoard.WarFoundry.API
diff API/Objects/AbstractUnitEquipmentItemSelection.cs @ 431:c8002429ab45
Re #366: Rewrite equipment handling and limits
* Remove code added for #356 and work without limiting
* Move "Calculate number taken" method to util class
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 12 Nov 2011 20:35:15 +0000 |
parents | 7179c585d31d |
children |
line wrap: on
line diff
--- a/API/Objects/AbstractUnitEquipmentItemSelection.cs Sun Nov 06 20:44:53 2011 +0000 +++ b/API/Objects/AbstractUnitEquipmentItemSelection.cs Sat Nov 12 20:35:15 2011 +0000 @@ -85,23 +85,15 @@ } /// <summary> - /// Gets the number taken as a whole number of times the item was taken. This number may be altered by the limits - /// placed on the equipment item (e.g. reduced if there is a lower maximum limit) + /// Gets the number taken as a whole number of times the item was taken. This number will not be altered by the limits + /// placed on the equipment item, which are instead used to raise validation warnings. /// </summary> /// <value> - /// The number of times the item was taken, modified by any limits. + /// The number of times the item was taken. /// </value> public abstract int NumberTaken { get; } - - /// <summary> - /// Gets the raw amount taken as a whole number of times the item was taken. - /// </summary> - /// <value> - /// The unmodified number of times the item was taken. - /// </value> - public abstract int RawNumberTaken { get; } } }