X-Git-Url: https://git.mxchange.org/?p=shipsimu.git;a=blobdiff_plain;f=application%2Fship-simu%2Fmain%2Fconstructions%2Fdocks%2Fclass_DryDock.php;h=b69692a8dd57bdcd0877cbf3ac44081f8d4d155c;hp=e94512849688a63bfaa58147982e8e156bb043a7;hb=11c0ba60cb6c044928f41e93cc98d214b1d8ad7c;hpb=2a157996efd680b87b0a84cc95b91619ea6e81d9
diff --git a/application/ship-simu/main/constructions/docks/class_DryDock.php b/application/ship-simu/main/constructions/docks/class_DryDock.php
index e945128..b69692a 100644
--- a/application/ship-simu/main/constructions/docks/class_DryDock.php
+++ b/application/ship-simu/main/constructions/docks/class_DryDock.php
@@ -19,42 +19,23 @@
* 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 DryDock extends BaseConstruction {
// Zugewiesener Hafen
private $harborInstance = null;
// Konstruktor
- private function __construct () {
- if (((defined('DEBUG_MODE')) || (defined('DEBUG_ALL'))) && (defined('DEBUG_CONSTRUCT'))) $this->getDebugInstance()->output("[DryDock:] Konstruktor erreicht.
\n");
-
+ protected function __construct () {
// Call parent constructor
- parent::constructor(__CLASS__);
+ parent::__construct(__CLASS__);
// Set description
- $this->setPartDescr("Trockendock");
+ $this->setObjectDescription("Trockendock");
// Generate unique ID number
$this->createUniqueID();
}
-
- /**
- * 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]