(no commit message)
[shipsimu.git] / application / ship-simu / main / constructions / docks / class_DryDock.php
diff --git a/application/ship-simu/main/constructions/docks/class_DryDock.php b/application/ship-simu/main/constructions/docks/class_DryDock.php
new file mode 100644 (file)
index 0000000..b0f19e6
--- /dev/null
@@ -0,0 +1,41 @@
+<?php
+
+// Die Werft-Klasse
+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.<br />\n");
+
+               // Eltern-Konstruktor aufrufen
+               parent::constructor(__CLASS__);
+
+               // Beschreibung setzen
+               $this->setPartDescr("Trockendock");
+
+               // Unique-ID erzeugen
+               $this->createUniqueID();
+       }
+
+       /**
+        * Stub!
+        */
+       public function saveObjectToDatabase () {
+               $this->getDebugInstance()->output(sprintf("[%s:] Stub <strong>%s</strong> erreicht.",
+                       $this->__toString(),
+                       __FUNCTION__
+               ));
+       }
+
+       /**
+        * Limits this object with an ObjectLimits instance
+        */
+       public function limitObject (ObjectLimits $limitInstance) {
+               ApplicationEntryPoint::app_die("".__METHOD__." reached! Stub!");
+       }
+}
+
+// [EOF]
+?>