]> git.mxchange.org Git - shipsimu.git/blobdiff - application/ship-simu/main/constructions/terminals/class_Terminal.php
(no commit message)
[shipsimu.git] / application / ship-simu / main / constructions / terminals / class_Terminal.php
diff --git a/application/ship-simu/main/constructions/terminals/class_Terminal.php b/application/ship-simu/main/constructions/terminals/class_Terminal.php
new file mode 100644 (file)
index 0000000..ca61501
--- /dev/null
@@ -0,0 +1,46 @@
+<?php
+
+// Die Anlegebruecke-Klasse
+class Terminal extends BaseConstruction {
+       // Zugewiesener Hafen
+       private $harborInstance = null;
+
+       // Konstruktor
+       private function __construct () {
+               if (((defined('DEBUG_MODE')) || (defined('DEBUG_ALL'))) && (defined('DEBUG_CONSTRUCT'))) {
+                       $this->getDebugInstance()->output(sprintf("[%s:%d] Konstruktor erreicht.<br />\n",
+                               __CLASS__,
+                               __LINE__
+                       ));
+               }
+
+               // Eltern-Konstruktor aufrufen
+               parent::constructor(__CLASS__);
+
+               // Beschreibung setzen
+               $this->setPartDescr("Anlegebr&uuml;cke");
+
+               // 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]
+?>