Пример #1
0
        public static void writeinfo(this NORTHLORD nORTHLORD, string filename)
        {
            XDocument xDocument = new XDocument();
            XElement  xElement  = new XElement("name", nORTHLORD.Name, new XElement("LordHouse", nORTHLORD.LordHouse),
                                               new XElement("isalive", nORTHLORD.Isalive), new XElement("age", nORTHLORD.Age), new XElement("Profesion", nORTHLORD.profesion));

            xDocument.Add(xElement);
            xDocument.Save(filename);
        }
Пример #2
0
 public HouseBolton(NORTHLORD _NorthLord)
 {
     Housecounter++;
     if (Housecounter > 1)
     {
         throw new Exception("can't be tow same house");
     }
     north.HouseBolton = this;
     NorthLord         = _NorthLord;
 }
Пример #3
0
 public HouseStark(NORTHLORD _NorthLord)
 {
     north.HouseStark = this;
     NorthLord        = _NorthLord;
 }
Пример #4
0
 public HouseHornwood(NORTHLORD _NorthLord)
 {
     north.HouseHornwood = this;
     NorthLord           = _NorthLord;
 }
Пример #5
0
 public HouseReed(NORTHLORD _NorthLord)
 {
     north.HouseReed = this;
     NorthLord       = _NorthLord;
 }
Пример #6
0
 public HouseMormont(NORTHLORD _NorthLord)
 {
     north.HouseMormont = this;
     NorthLord          = _NorthLord;
 }
Пример #7
0
 public HouseGlover(NORTHLORD _NorthLord)
 {
     north.HouseGlover = this;
     NorthLord         = _NorthLord;
 }
Пример #8
0
 public HouseCerwyn(NORTHLORD _NorthLord)
 {
     north.HouseCerwyn = this;
     NorthLord         = _NorthLord;
 }