]> git.mxchange.org Git - shipsimu.git/blobdiff - application/ship-simu/main/ships/class_BaseShip.php
Translations to english and debug messages removed (missing files added)
[shipsimu.git] / application / ship-simu / main / ships / class_BaseShip.php
index d4ffee9871458b9ce53bb30868ed38f9f35dfd2b..4799c0e5ea8b65caeb19cced8910b27654d1a9bf 100644 (file)
@@ -42,20 +42,13 @@ class BaseShip extends BaseSimulator {
                // Call parent constructor
                parent::__construct($class);
 
-               // Beim Schiff angelangt
-               if (((defined('DEBUG_SHIP')) || (defined('DEBUG_ALL'))) && (defined('DEBUG_CONSTRUCT')))
-                       $this->getDebugInstance()->output(sprintf("[%s:%d] Konstruktor erreicht.<br />\n",
-                               __CLASS__,
-                               __LINE__
-                       ));
-
-               // Bezeichnung setzen
-               $this->setObjectDescription("Schiff");
+               // Set object description
+               $this->setObjectDescription("Allgemeines Schiff");
 
-               // Array-Objekt generieren
+               // Prepare array object for all structures
                $this->createStructuresArray();
 
-               // Instanz entfernen
+               // Clean-up a little
                $this->removePartInstance();
                $this->removeNumberFormaters();
        }