private void AddBeamsPrice(BlueprintPriceReport report, IBlueprint aBlueprint) { int beamsCount = aBlueprint.GetBeams().Count; float beamPrice = costsNPrices.GetPrice((int)ComponentType.BEAM); report.SetTotalPrice(ComponentType.BEAM, beamsCount * beamPrice); }