]> git.mxchange.org Git - shipsimu.git/blobdiff - application/ship-simu/main/structures/extended/cabines/ship/class_EconomyCabin.php
generateUniqueId() and more useless/deprecated methods removed, code speed-up, link...
[shipsimu.git] / application / ship-simu / main / structures / extended / cabines / ship / class_EconomyCabin.php
index ea295b78e640f55a7fef4cecca96e3b2499205d2..280f6f8586cb2dee1c3d0197b5585cc251b51109 100644 (file)
@@ -26,15 +26,6 @@ class EconomyCabin extends BaseCabin implements TradeableItem, ConstructableShip
        protected function __construct () {
                // Call parent constructor
                parent::__construct(__CLASS__);
-
-               // Set description
-               $this->setObjectDescription("Economy-Class-Kabine");
-
-               // Generate unique ID number
-               $this->generateUniqueId();
-
-               // Clean up a little
-               $this->removeSystemArray();
        }
 
        // Economy-Kabine erstellen
@@ -42,12 +33,6 @@ class EconomyCabin extends BaseCabin implements TradeableItem, ConstructableShip
                // Get new instance
                $ecoInstance = new EconomyCabin();
 
-               // Debug message
-               if ((defined('DEBUG_CABIN')) || (defined('DEBUG_ALL'))) $ecoInstance->getDebugInstance()->output(sprintf("[%s:%d] Eine Economy-Class-Kabine wird konstruiert...",
-                       __CLASS__,
-                       __LINE__
-               ));
-
                // Abmasse extrahieren
                $ecoInstance->extractDimensions($dim);