Mercurial > repos > IBDev-IBBoard.WarFoundry.API
comparison API/Objects/UnitType.cs @ 487:248df19652f9
Re #410: Create "N units per M models in parent unit" requirement
* Add null adding context
* Add initial skeleton of "N units per M models in parent unit" requirement
* Update use of context
* Standardise some of "is applicable" testing
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Fri, 27 Jul 2012 20:31:12 +0100 |
parents | 95c1b68a600b |
children |
comparison
equal
deleted
inserted
replaced
486:6e5b39caeb4e | 487:248df19652f9 |
---|---|
17 private Category mainCat; | 17 private Category mainCat; |
18 private Race race; | 18 private Race race; |
19 private int min = 0; | 19 private int min = 0; |
20 private int max = WarFoundryCore.INFINITY; | 20 private int max = WarFoundryCore.INFINITY; |
21 private int baseSize = 0; | 21 private int baseSize = 0; |
22 private int minSize, maxSize; | 22 private int minSize = 1; |
23 private int maxSize = WarFoundryCore.INFINITY; | |
23 private double baseUnitCost; | 24 private double baseUnitCost; |
24 private double costPerTrooper; | 25 private double costPerTrooper; |
25 private Stats stats; | 26 private Stats stats; |
26 private List<IRequirement> requirements = new List<IRequirement>(); | 27 private List<IRequirement> requirements = new List<IRequirement>(); |
27 private Dictionary<string, UnitEquipmentItem> equipment = new Dictionary<string, UnitEquipmentItem>(); | 28 private Dictionary<string, UnitEquipmentItem> equipment = new Dictionary<string, UnitEquipmentItem>(); |