示例#1
0
        public void LoadXmlnode(XmlElement node)
        {
            Clear();
            BxDefaultUnitsGroupS child = null;

            foreach (XmlElement one in node.ChildNodes)
            {
                child = new BxDefaultUnitsGroupS();
                child.LoadXmlnode(one);
                AddGroup(child);
            }
            Name = node.GetAttribute("name");
        }
示例#2
0
 public void AddGroup(BxDefaultUnitsGroupS group)
 {
     _groups.Add(group);
 }