2 // Die abstrakte Bauten-Klasse
3 class BaseConstruction extends BaseSimulator {
4 // Tiefgang fuer z.B. Trockdocks
8 private function __construct ($class) {
9 // Eltern-Konstrutor aufrufen
10 parent::constructor($class);
13 if ((defined('DEBUG_CORE')) && (defined('DEBUG_CONSTRUCT'))) $this->getDebugInstance()->output(sprintf("[%s:] Konstruktor erreicht.<br />\n",
17 // Beschreibung setzen
18 $this->setPartDescr("Namenlose Landkonstruktion");
20 // Etwas aufraeumen (brauchen wir hier nicht)
21 $this->removeNumberFormaters();
24 // Konstruktor aufrufen
25 public function constructor ($class) {
26 $this->__construct($class);
30 public function removeDraught () {
31 if (defined('DEBUG_CORE')) $this->getDebugInstance()->output(sprintf("[%s:] Tiefgang wird entfernt.<br />\n",
34 unset($this->draught);