Mercurial > repos > IBDev-IBBoard.WarFoundry.API
comparison api/Objects/ArmyCategory.cs @ 82:3ea0ab04352b
* Fix line terminators
no-open-ticket
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 27 Jun 2009 18:59:49 +0000 |
parents | e53ed2d613a1 |
children | 89cc29b4c012 |
comparison
equal
deleted
inserted
replaced
81:032b174fc17a | 82:3ea0ab04352b |
---|---|
64 } | 64 } |
65 } | 65 } |
66 | 66 |
67 internal void AddUnit(Unit unit) | 67 internal void AddUnit(Unit unit) |
68 { | 68 { |
69 List<FailedUnitRequirement> failedReqs = ParentArmy.CanAddUnit(unit); | |
69 units.Add(unit); | 70 units.Add(unit); |
70 unit.Category = this; | 71 unit.Category = this; |
71 unit.PointsValueChanged+= PointsValueChangedMethod; | 72 unit.PointsValueChanged+= PointsValueChangedMethod; |
72 int unitTypeCount; | 73 int unitTypeCount; |
73 unitTypes.TryGetValue(unit.UnitType.ID, out unitTypeCount); | 74 unitTypes.TryGetValue(unit.UnitType.ID, out unitTypeCount); |