function HangarBuild($Element, $Count) { global $SHIPYARD; $this->setGlobal(); BuildFunctions::addShipsToQueue(array($Element => $Count)); $this->getGlobal(); }