예제 #1
0
        private void ReadMapCell(XmlElement xml, string name, List <MapCellData> list)
        {
            XmlNodeList xmlList = XmlRead.GetList(xml, name);

            list.Clear();
            foreach (XmlNode node in xmlList)
            {
                XmlElement  ele   = node as XmlElement;
                MapCellData pData = DataBase.CreateInstance <MapCellData>();
                pData.FromXml(ele);
                list.Add(pData);
            }
        }