X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=application%2Fship-simu%2Fmain%2Fparts%2Fmaschineroom%2Fclass_MaschineRoom.php;h=f1e277958f9443af16ba91650f62456647c5cbd2;hb=d381d9892a92c37a3b6653a9c76a49c510b0d0f3;hp=fdde3262b25f5be2f6bfffdb90edaa4083fcbc9a;hpb=1d128d8532290e84885d09d2d3f0060abd08e49e;p=shipsimu.git diff --git a/application/ship-simu/main/parts/maschineroom/class_MaschineRoom.php b/application/ship-simu/main/parts/maschineroom/class_MaschineRoom.php index fdde326..f1e2779 100644 --- a/application/ship-simu/main/parts/maschineroom/class_MaschineRoom.php +++ b/application/ship-simu/main/parts/maschineroom/class_MaschineRoom.php @@ -4,9 +4,9 @@ * * @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.ship-simu.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 @@ -26,23 +26,6 @@ class MaschineRoom extends BaseShipPart { protected function __construct () { // Call parent constructor parent::__construct(__CLASS__); - - // Debug message - if (((defined('DEBUG_MODE')) || (defined('DEBUG_ALL'))) && (defined('DEBUG_CONSTRUCT'))) { - $this->getDebugInstance()->output(sprintf("[%s:%d] Konstruktor erreicht.
\n", - __CLASS__, - __LINE__ - )); - } - - // Set description - $this->setObjectDescription("Maschinenraum"); - - // Generate unique ID number - $this->createUniqueID(); - - // Clean up a little - $this->removeSystemArray(); } // Maschinenraum erstellen @@ -50,12 +33,6 @@ class MaschineRoom extends BaseShipPart { // Get new instance $roomInstance = new MaschineRoom(); - // Debug message - if ((defined('DEBUG_MODE')) || (defined('DEBUG_ALL'))) $roomInstance->getDebugInstance()->output(sprintf("[%s:%d] Ein Maschinenraum wird konstruiert.
\n", - __CLASS__, - __LINE__ - )); - // Umrechnungsfaktoren setzen $roomInstance->setResizeFactorElement('width' , 1.3); $roomInstance->setResizeFactorElement('height', 1.8); @@ -64,23 +41,6 @@ class MaschineRoom extends BaseShipPart { // Instanz zurueckgeben return $roomInstance; } - - /** - * Stub! - */ - public function saveObjectToDatabase () { - $this->getDebugInstance()->output(sprintf("[%s:] Stub %s erreicht.", - $this->__toString(), - __FUNCTION__ - )); - } - - /** - * Limits this object with an ObjectLimits instance - */ - public function limitObject (ObjectLimits $limitInstance) { - ApplicationEntryPoint::app_die("".__METHOD__." reached! Stub!"); - } } // [EOF]