X-Git-Url: https://git.mxchange.org/?p=shipsimu.git;a=blobdiff_plain;f=application%2Fship-simu%2Fmain%2Fships%2Fpassenger%2Fclass_PassengerShip.php;h=70fa5ed56b79e7e333d934a8e81f19d2e8bb2c51;hp=39f50db78d00aadf707f3b685d5ce79d5bfcb1d7;hb=4f70843ae8428f051d70ccff5bb43fc4c03dda8d;hpb=db61178ebaf96aa11cc16f18af4fedaaf32fe2de diff --git a/application/ship-simu/main/ships/passenger/class_PassengerShip.php b/application/ship-simu/main/ships/passenger/class_PassengerShip.php index 39f50db..70fa5ed 100644 --- a/application/ship-simu/main/ships/passenger/class_PassengerShip.php +++ b/application/ship-simu/main/ships/passenger/class_PassengerShip.php @@ -3,11 +3,11 @@ * A passenger ship with one or more decks, cabins, bridge (replacement for the * captain) and many more * - * @author Roland Haeder + * @author Roland Haeder * @version 0.0.0 - * @copyright Copyright (c) 2007, 2008 Roland Haeder, this is free software + * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team * @license GNU GPL 3.0 or any newer version - * @link http://www.ship-simu.org + * @link http://www.shipsimu.org * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -27,19 +27,10 @@ class PassengerShip extends BaseShip implements ConstructableShip { protected function __construct () { // Eltern-Kontruktor aufrufen parent::__construct(__CLASS__); - - // Set description - $this->setObjectDescription("Passagier-Schiff"); - - // Generate unique ID number - $this->generateUniqueId(); - - // Clean up a little - $this->removeSystemArray(); } // Passagier-Schiff erstellen - public final static function createPassengerShip ($shipName) { + public static final function createPassengerShip ($shipName) { // Get new instance $passInstance = new PassengerShip();