XML for UnitModel and BuildingModel

Project: Armament
Role: Game Programmer
Completed: 11.00 Pvt Garry Stanfill Game Programmer
Start Date: 9/4/2018 10:09
End Date: 9/5/2018 13:19
Make script that can read data from xml file and put that into some class. Example xml can contain some data like health, type, name, range and something like that. We are gonna expand on that later.

Complete Task
2.00 HR.
The classes for testing a all in the 1 ImportXML.cs file.  These can easily be broken out however is needed for production use.

I have purposely put multiple layers in the xml hierarchy to allow for many different use cases.  As it is, the file is configured as such:

   <Units> <- overall container for unit objects
     <Type typeID="1"> <- This can be a type identifier
       <Unit Id="1"> <- This can be a unit identifier
          <weaponID>1</weaponID> unit stats go here.

Thank you


Garry, Will you please upload your source code to the website please.

Oh nevermind site was cached I see it now.

Great James.  Thanks