/** * @param Fleet $fleet */ public function merge(Fleet $fleet) { foreach ($fleet->getTechnologyStates() as $techState) { $this->addTechnologyState($techState->getTechnology(), $techState->getCount(), $techState->getLost()); } }
/** * @param Fleet $fleet */ public function merge(Fleet $fleet) { foreach ($fleet->getTechnologyStates() as $techState) { $this->addTechnologyState($techState->getTechnology(), $techState->getCount(), $techState->getLost()); } }