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",
18 $this->setPartDescr("Namenlose Landkonstruktion");
21 $this->removeNumberFormaters();
25 * Calls the private constructor
27 * @param $class The class' name
30 public function constructor ($class) {
31 $this->__construct($class);
35 public function removeDraught () {
36 if (defined('DEBUG_CORE')) $this->getDebugInstance()->output(sprintf("[%s:] Tiefgang wird entfernt.<br />\n",
39 unset($this->draught);