2 // Super structures (renamed to UpperStructure to avoid mixing it with super classes
3 class BaseUpperStructure extends BaseStructure {
5 * Constructor for all super structures on a ship
7 private function __construct ($class) {
8 // Call parent constructor
9 parent::constructor($class);
12 if (((defined('DEBUG_STRUCTURE')) || (defined('DEBUG_ALL'))) && (defined('DEBUG_CONSTRUCT'))) {
13 $this->getDebugInstance()->output(sprintf("[%s:%d] Konstruktor erreicht.<br />\n",
20 $this->setPartDescr("Aufbauten");
24 * Call new constructor
26 function constructor ($class) {
27 $this->__construct($class);
33 public function saveObjectToDatabase () {
34 $this->getDebugInstance()->output(sprintf("[%s:] Stub <strong>%s</strong> erreicht.",
41 * Limits this object with an ObjectLimits instance
43 public function limitObject (ObjectLimits $limitInstance) {
44 ApplicationEntryPoint::app_die("".__METHOD__." reached! Stub!");