Exemplo n.º 1
0
 void ReadHardpoints(INIReaderHeader header)
 {
     foreach (INIReaderParameter p in header.parameters)
     {
         if (p.Check("hardpoint"))
         {
             ArchComponentHardpoint hp = new ArchComponentHardpoint();
             hp.ReadParameter(p);
             hardpoints.Add(hp);
             continue;
         }
         else if (p.Check("connection_hardpoint"))
         {
             connectionHardpoint = new ArchComponentHardpoint();
             connectionHardpoint.ReadParameter(p);
             continue;
         }
     }
 }
Exemplo n.º 2
0
 void ReadHardpoints(INIReaderHeader header)
 {
     foreach (INIReaderParameter p in header.parameters)
     {
         if (p.Check("hardpoint"))
         {
             ArchComponentHardpoint hp = new ArchComponentHardpoint();
             hp.ReadParameter(p);
             hardpoints.Add(hp);
             continue;
         }
         else if (p.Check("connection_hardpoint"))
         {
             connectionHardpoint = new ArchComponentHardpoint();
             connectionHardpoint.ReadParameter(p);
             continue;
         }
     }
 }
 public SolarComponentHardpoint(ArchComponentHardpoint arch, SolarComponentPropertyRigidHull hull)
 {
     this.id = arch.id;
     this.hull = hull;
 }