X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=application%2Fship-simu%2Fmain%2Fconstructions%2Fyards%2Fclass_Shipyard.php;h=29084843a2294ceb728f2a2e011ff9787e42839b;hb=2078ef5e00b12fd44558b8d6b7eb95e4a4cee4b0;hp=18a018e4ed53b6a1a6ce8be8a942fcfb57e872a0;hpb=42b66268af2c7d8872aca3e2fffb76d60954e9f5;p=shipsimu.git diff --git a/application/ship-simu/main/constructions/yards/class_Shipyard.php b/application/ship-simu/main/constructions/yards/class_Shipyard.php index 18a018e..2908484 100644 --- a/application/ship-simu/main/constructions/yards/class_Shipyard.php +++ b/application/ship-simu/main/constructions/yards/class_Shipyard.php @@ -20,7 +20,7 @@ * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * along with this program. If not, see . */ class Shipyard extends BaseConstruction { // Werft-Name @@ -45,9 +45,9 @@ class Shipyard extends BaseConstruction { private $shippingCompany = null; // Constructor - private function __construct () { + protected function __construct () { // Call parent constructor - parent::constructor(__CLASS__); + parent::__construct(__CLASS__); // Debug message if (((defined('DEBUG_SHIPYARD')) || (defined('DEBUG_ALL'))) && (defined('DEBUG_CONSTRUCT'))) { @@ -58,7 +58,7 @@ class Shipyard extends BaseConstruction { } // Set description - $this->setPartDescr("Werft"); + $this->setObjectDescription("Werft"); // Staff-Liste/Schiffstyp-Liste erzeugen $this->createStaffList();