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