getter, setter are all final; several code clean-ups
[shipsimu.git] / application / ship-simu / main / structures / extended / class_BaseUpperStructure.php
index e4488cdd689f700e12dd87d1865aa20b6393209c..ee7264db65b9c6e43552cd24c6ce0d8aa7bfa34c 100644 (file)
@@ -18,11 +18,6 @@ class BaseUpperStructure extends BaseStructure {
 
                // Set description
                $this->setPartDescr("Aufbauten");
-
-               // Shall we clean up?
-               if ($class == __CLASS__) {
-                       $this->removeSystemArray();
-               }
        }
 
        /**
@@ -32,28 +27,6 @@ class BaseUpperStructure extends BaseStructure {
                $this->__construct($class);
        }
 
-       /**
-        * Creates an upper(=super) structure
-        */
-       public static function createBaseUpperStructure () {
-               // Instanz holen
-               $upperInstance = new BaseUpperStructure (__CLASS__);
-
-               // Debug message
-               if ((defined('DEBUG_STRUCTURE')) || (defined('DEBUG_ALL'))) {
-                       $upperInstance->getDebugInstance()->output(sprintf("[%s:%d] Aufbauten wird konstruiert.<br />\n",
-                               __CLASS__,
-                               __LINE__
-                       ));
-               }
-
-               // Unique-ID setzen
-               $upperInstance->createUniqueID();
-
-               // Return instance
-               return $upperInstance;
-       }
-
        /**
         * Stub!
         */