]> git.mxchange.org Git - shipsimu.git/blob - ship-simu/application/ship-simu/main/constructions/terminals/class_Terminal.php
ca61501979235fbdb65b5c26a365f47689fb6198
[shipsimu.git] / ship-simu / application / ship-simu / main / constructions / terminals / class_Terminal.php
1 <?php
2
3 // Die Anlegebruecke-Klasse
4 class Terminal extends BaseConstruction {
5         // Zugewiesener Hafen
6         private $harborInstance = null;
7
8         // Konstruktor
9         private function __construct () {
10                 if (((defined('DEBUG_MODE')) || (defined('DEBUG_ALL'))) && (defined('DEBUG_CONSTRUCT'))) {
11                         $this->getDebugInstance()->output(sprintf("[%s:%d] Konstruktor erreicht.<br />\n",
12                                 __CLASS__,
13                                 __LINE__
14                         ));
15                 }
16
17                 // Eltern-Konstruktor aufrufen
18                 parent::constructor(__CLASS__);
19
20                 // Beschreibung setzen
21                 $this->setPartDescr("Anlegebr&uuml;cke");
22
23                 // Unique-ID erzeugen
24                 $this->createUniqueID();
25         }
26
27         /**
28          * Stub!
29          */
30         public function saveObjectToDatabase () {
31                 $this->getDebugInstance()->output(sprintf("[%s:] Stub <strong>%s</strong> erreicht.",
32                         $this->__toString(),
33                         __FUNCTION__
34                 ));
35         }
36
37         /**
38          * Limits this object with an ObjectLimits instance
39          */
40         public function limitObject (ObjectLimits $limitInstance) {
41                 ApplicationEntryPoint::app_die("".__METHOD__." reached! Stub!");
42         }
43 }
44
45 // [EOF]
46 ?>