]> git.mxchange.org Git - shipsimu.git/blobdiff - application/ship-simu/main/constructions/docks/class_DryDock.php
Method constructor() removed, several small fixes
[shipsimu.git] / application / ship-simu / main / constructions / docks / class_DryDock.php
index e94512849688a63bfaa58147982e8e156bb043a7..879786d2f873a713ac9560edc0a179d1112e1c0b 100644 (file)
  * 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 <http://www.gnu.org/licenses/>.
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
 class DryDock extends BaseConstruction {
        // Zugewiesener Hafen
        private $harborInstance = null;
 
        // Konstruktor
-       private function __construct () {
+       protected function __construct () {
                if (((defined('DEBUG_MODE')) || (defined('DEBUG_ALL'))) && (defined('DEBUG_CONSTRUCT'))) $this->getDebugInstance()->output("[DryDock:] Konstruktor erreicht.<br />\n");
 
                // Call parent constructor
-               parent::constructor(__CLASS__);
+               parent::__construct(__CLASS__);
 
                // Set description
-               $this->setPartDescr("Trockendock");
+               $this->setObjectDescription("Trockendock");
 
                // Generate unique ID number
                $this->createUniqueID();