Ejemplo n.º 1
0
 private static void ReadComponent(SaveReader sr)
 {
     String s = sr.ReadLine();
     if (s == "") return;
     int l = Convert.ToInt32(s.Substring(0, s.Length));
     if (l == 0) return;
     s = ReadBlock(sr, l + 2);
     //important
     //important
     if (s == "") return;
     ComponentData c = new ComponentData(s);
     s = sr.ReadLine();
     //s = sr.ReadLine();
     c.Load();
     System.Threading.Thread.Sleep(1);//TODO mb remove. for decoration
 }
Ejemplo n.º 2
0
 public static void SaveNode(ComponentData d)
 {
     datas.Add(d);
 }
Ejemplo n.º 3
0
 public static void SaveNode(ComponentData d)
 {
     datas.Add(d);
 }