]> git.mxchange.org Git - shipsimu.git/blobdiff - application/ship-simu/main/drives/motor/class_Motor.php
generateUniqueId() and more useless/deprecated methods removed, code speed-up, link...
[shipsimu.git] / application / ship-simu / main / drives / motor / class_Motor.php
index 8f8b61f51404a34509d4bace8069bc6c0e000f72..c1ed35b1cdebee6c07cdd68da765c5e96ba3724f 100644 (file)
@@ -26,15 +26,6 @@ class Motor extends BaseDrive implements TradeableItem, ConstructableShipPart {
        protected function __construct() {
                // Call parent constructor
                parent::__construct(__CLASS__);
-
-               // Set description
-               $this->setObjectDescription("Namenloser Motor");
-
-               // Generate unique ID number
-               $this->generateUniqueId();
-
-               // Clean up a little
-               $this->removeSystemArray();
        }
 
        // Einen Motor erstellen
@@ -43,7 +34,6 @@ class Motor extends BaseDrive implements TradeableItem, ConstructableShipPart {
                $motorInstance = new Motor();
 
                // Beschreibung und Abmasse setzen
-               $motorInstance->setObjectDescription($descr);
                $motorInstance->setWidth($w);
                $motorInstance->setHeight($h);
                $motorInstance->setLength($l);