public List<clsUnitType> getCampaignInfo_UnitTypes() { clsUnitTypeCollection objUnitTypeCollection = new clsUnitTypeCollection(); objUnitTypeCollection.Add(new clsUnitType(objUnitTypeCollection.dicUnitTypeData.Count, "Star Destroyer")); return objUnitTypeCollection.dicUnitTypeData.Values.ToList<clsUnitType>(); }
public clsUnitType getCampaignInfo_UnitTypeByID(int intUnitID) { clsUnitTypeCollection objUnitTypeCollection = new clsUnitTypeCollection(); objUnitTypeCollection.Add(new clsUnitType(objUnitTypeCollection.dicUnitTypeData.Count, "Star Destroyer")); return objUnitTypeCollection.dicUnitTypeData[intUnitID.ToString()]; }