/** * Constructor. Note available convenience functions for helping with instantiation. * * @param \iveeCore\SolarSystem $system which this IndustryModifier is being instantiated for * @param array $assemblyLines the available AssemblyLines by activityId * @param float $tax in the form "0.1" for 10% tax */ public function __construct(SolarSystem $system, array $assemblyLines, $tax) { $this->solarSystem = $system; $this->assemblyLines = $assemblyLines; $this->tax = $tax; $charModClass = Config::getIveeClassName('CharacterModifier'); $this->characterModifier = new $charModClass(); $bpModClass = Config::getIveeClassName('BlueprintModifier'); $this->blueprintModifier = new $bpModClass(); $this->maxPriceDataAge = Config::getMaxPriceDataAge(); }