]> 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 93819424e0762953eceb54a49ce56f590627d28f..280f6f8586cb2dee1c3d0197b5585cc251b51109 100644 (file)
@@ -4,7 +4,7 @@
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0.0
- * @copyright  Copyright(c) 2007, 2008 Roland Haeder, this is free software
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, this is free software
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
  *
@@ -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);