New interface SignableContract introduced, some comments translated
[shipsimu.git] / application / ship-simu / main / constructions / docks / class_DryDock.php
1 <?php
2
3 // Die Werft-Klasse
4 class DryDock 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'))) $this->getDebugInstance()->output("[DryDock:] Konstruktor erreicht.<br />\n");
11
12                 // Call parent constructor
13                 parent::constructor(__CLASS__);
14
15                 // Set description
16                 $this->setPartDescr("Trockendock");
17
18                 // Generate unique ID number
19                 $this->createUniqueID();
20         }
21
22         /**
23          * Stub!
24          */
25         public function saveObjectToDatabase () {
26                 $this->getDebugInstance()->output(sprintf("[%s:] Stub <strong>%s</strong> erreicht.",
27                         $this->__toString(),
28                         __FUNCTION__
29                 ));
30         }
31
32         /**
33          * Limits this object with an ObjectLimits instance
34          */
35         public function limitObject (ObjectLimits $limitInstance) {
36                 ApplicationEntryPoint::app_die("".__METHOD__." reached! Stub!");
37         }
38 }
39
40 // [EOF]
41 ?>