view dtds/army.dtd @ 6:150a5669cd7b

Re #9 - more granular loading * Remove SystemStatsSet class so that other classes don't know the internals of how GameSystem stores its stats (cleaner code principle) * Make XML loader each stats set and add to the game system * Add methods to GameSystem to remove use of SystemStatsSet and hide internal handling * Add methods to add SystemStats to GameSystem
author IBBoard <dev@ibboard.co.uk>
date Sun, 04 Jan 2009 12:13:59 +0000
parents 163b35f875ef
children
line wrap: on
line source

<!ELEMENT army (units,customEquipment)>
<!ELEMENT units (unit*)>
<!ELEMENT unit (equipment?)>
<!ELEMENT equipment (equipItem*)>
<!ELEMENT equipItem EMPTY>
<!ELEMENT customEquipment (customEquipment*)>
<!ELEMENT customEquip EMPTY>

<!ATTLIST army id CDATA #REQUIRED>
<!ATTLIST army name CDATA #REQUIRED>
<!ATTLIST army system CDATA #REQUIRED>
<!ATTLIST army race CDATA #REQUIRED>
<!ATTLIST army maxPoints CDATA #REQUIRED>

<!ATTLIST unit id CDATA #REQUIRED>
<!ATTLIST unit unitType CDATA #REQUIRED>
<!ATTLIST unit unitName CDATA #REQUIRED>
<!ATTLIST unit race CDATA "">
<!ATTLIST unit size CDATA "">

<!ATTLIST equipItem id CDATA #REQUIRED>
<!ATTLIST equipItem amount CDATA #REQUIRED>