Example #1
0
 public void AddComponents(EquationComponent[] components)
 {
     foreach (EquationComponent component in components)
     {
         this.AddComponent(component);
     }
 }
Example #2
0
 public void AddComponent(EquationComponent component)
 {
     maxPower = Math.Max(maxPower, component.power);
     this.components.Add(component);
 }