Esempio n. 1
0
 public void RemoveMotorComponent(MotorComponent child)
 {
     if (MotorComponents.Contains(child))
     {
         MotorComponents.Remove(child);
         MachComponents.Remove(child);
     }
 }
Esempio n. 2
0
 public void AddMotorComponent(MotorComponent child)
 {
     if (!MotorComponents.Contains(child))
     {
         MotorComponents.Add(child);
         MachComponents.Add(child);
     }
 }