changeset 59:3fa4658c50c6

Re #61 - Complete structure of WarFoundry API objects * Allow units to have zero members to handle meta-units where all members are individuals "contained" by the unit
author IBBoard <dev@ibboard.co.uk>
date Thu, 09 Apr 2009 13:55:46 +0000
parents e53ed2d613a1
children 0c3500fca49d
files api/Objects/Army.cs dtds/race.xsd
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line diff
     1.1 --- a/api/Objects/Army.cs	Tue Apr 07 15:28:06 2009 +0000
     1.2 +++ b/api/Objects/Army.cs	Thu Apr 09 13:55:46 2009 +0000
     1.3 @@ -31,7 +31,7 @@
     1.4  		public event DoubleValChangedDelegate PointsValueChanged;
     1.5  		private DoubleValChangedDelegate PointsValueChangedMethod;
     1.6  		
     1.7 -		public Army(Race race, string armyName, int maxArmyPoints) : this(race, armyName, maxArmyPoints, null/*, factory*/)
     1.8 +		public Army(Race race, string armyName, int maxArmyPoints) : this(race, armyName, maxArmyPoints, null)
     1.9  		{
    1.10  		}
    1.11  
     2.1 --- a/dtds/race.xsd	Tue Apr 07 15:28:06 2009 +0000
     2.2 +++ b/dtds/race.xsd	Thu Apr 09 13:55:46 2009 +0000
     2.3 @@ -37,7 +37,7 @@
     2.4    <xs:attribute name="points" type="core:nonNegativeNonInfiniteDouble" use="required"/>
     2.5    <xs:attribute name="minNum" type="xs:nonNegativeInteger" default="0"/>
     2.6    <xs:attribute name="maxNum" type="core:positiveOrInfiniteInteger" default="-1"/>
     2.7 -  <xs:attribute name="minSize" type="xs:positiveInteger" default="5"/>
     2.8 +  <xs:attribute name="minSize" type="xs:nonNegativeInteger" default="5"/>
     2.9    <xs:attribute name="maxSize" type="core:positiveOrInfiniteInteger" default="-1"/>
    2.10    <xs:attribute name="baseSize" type="xs:nonNegativeInteger" default="0"/>
    2.11  </xs:complexType>