]> git.mxchange.org Git - shipsimu.git/commitdiff
Translations to english and debug messages removed (missing files added)
authorRoland Häder <roland@mxchange.org>
Wed, 30 Apr 2008 12:20:59 +0000 (12:20 +0000)
committerRoland Häder <roland@mxchange.org>
Wed, 30 Apr 2008 12:20:59 +0000 (12:20 +0000)
33 files changed:
application/ship-simu/main/class_BasePersonell.php
application/ship-simu/main/class_BaseSimulator.php
application/ship-simu/main/class_Merchant.php
application/ship-simu/main/class_WorksContract.php
application/ship-simu/main/companies/class_ShippingCompany.php
application/ship-simu/main/constructions/berths/class_Berth.php
application/ship-simu/main/constructions/class_BaseConstruction.php
application/ship-simu/main/constructions/docks/class_DryDock.php
application/ship-simu/main/constructions/harbors/class_Harbor.php
application/ship-simu/main/constructions/terminals/class_Terminal.php
application/ship-simu/main/constructions/yards/class_Shipyard.php
application/ship-simu/main/drives/class_BaseDrive.php
application/ship-simu/main/drives/motor/class_Motor.php
application/ship-simu/main/parts/class_BaseShipPart.php
application/ship-simu/main/parts/maschineroom/class_MaschineRoom.php
application/ship-simu/main/personell/class_SimulatorPersonell.php
application/ship-simu/main/personell/company/class_CompanyEmployee.php
application/ship-simu/main/ships/class_BaseShip.php
application/ship-simu/main/ships/passenger/class_PassengerShip.php
application/ship-simu/main/structures/class_BaseStructure.php
application/ship-simu/main/structures/extended/cabines/class_BaseCabin.php
application/ship-simu/main/structures/extended/cabines/ship/class_EconomyCabin.php
application/ship-simu/main/structures/extended/cabines/ship/class_LowCabin.php
application/ship-simu/main/structures/extended/cabines/ship/class_LuxuryCabin.php
application/ship-simu/main/structures/extended/cabines/ship/class_PremierCabin.php
application/ship-simu/main/structures/extended/class_BaseCabinStructure.php
application/ship-simu/main/structures/extended/class_BaseDeckStructure.php
application/ship-simu/main/structures/extended/class_BaseUpperStructure.php
application/ship-simu/main/structures/extended/decks/cargo/class_CarDeck.php
application/ship-simu/main/structures/extended/decks/cargo/class_TrainDeck.php
application/ship-simu/main/structures/extended/decks/cargo/class_TruckDeck.php
application/ship-simu/main/structures/extended/decks/class_BaseDeck.php
application/ship-simu/main/structures/extended/upper/class_Bridge.php

index 744c160f7bd0c99505692b2d6f611d2b2e1c3dc1..5eb553bc8c2048b342532cc973c1e73041d7a732 100644 (file)
@@ -52,9 +52,6 @@ class BasePersonell extends BaseFrameworkSystem implements Personellizer {
                // Call parent constructor
                parent::__construct($class);
 
-               // Debug message
-               if ((defined('DEBUG_PERSONELL')) && (defined('DEBUG_CONSTRUCT'))) $this->getDebugInstance()->output("[PersonellBase:] Konstruktor erreicht.<br />\n");
-
                // Set description
                $this->setObjectDescription("Personal");
        }
index 0ca7a91662427f2ac832a80e48b8a89e3e066708..7910c5e24c278a37e97f23e15b5a5b33b0dc8411 100644 (file)
@@ -46,10 +46,6 @@ class BaseSimulator extends BaseFrameworkSystem {
                // Call highest constructor
                parent::__construct($class);
 
-               if ((defined('DEBUG_CORE')) && (defined('DEBUG_CONSTRUCT'))) $this->getDebugInstance()->output(sprintf("[%s:] Konstruktor erreicht.<br />\n",
-                       $this->__toString()
-               ));
-
                // Set part description and class name
                $this->setObjectDescription("Simulator-Basis-Einheit");
 
index ce657135918dda52f1bcd184d39daae0c801c6c5..0d4ff104cc8814ebc8a89e32e0696dde8e2c33df 100644 (file)
@@ -36,14 +36,6 @@ class Merchant extends BaseFrameworkSystem {
                // Call parent constructor
                parent::__construct(__CLASS__);
 
-               // Debug message
-               if (((defined('DEBUG_MERCHANT')) || (defined('DEBUG_ALL'))) && (defined('DEBUG_CONSTRUCT'))) {
-                       $this->getDebugInstance()->output(sprintf("[%s:%d] Konstruktor erreicht.<br />\n",
-                               __CLASS__,
-                               __LINE__
-                       ));
-               }
-
                // Set description
                $this->setObjectDescription("H&auml;ndler");
 
index 96f1bcaf0b2087b7694a5631c15ce5b455648fc6..fdcc74a9ce80c64b43e404b99c19da54d067b6cb 100644 (file)
@@ -45,14 +45,6 @@ class WorksContract extends BaseFrameworkSystem implements SignableContract {
                // Call parent constructor
                parent::__construct(__CLASS__);
 
-               // Debug message
-               if (((defined('DEBUG_CONTRACT')) || (defined('DEBUG_ALL'))) && (defined('DEBUG_CONSTRUCT'))) {
-                       $this->getDebugInstance()->output(sprintf("[%s:%d] Konstruktor erreicht.<br />\n",
-                               __CLASS__,
-                               __LINE__
-                       ));
-               }
-
                // Set description
                $this->setObjectDescription("Bauvertrag");
 
index b93efdb8efc1804cf880bf4866a5ba1aa8414d16..1dba1682a48dd4647dc26627af58786644b99097 100644 (file)
@@ -71,14 +71,6 @@ class ShippingCompany extends BaseSimulator implements Customer, ContractPartner
                // Call parent constructor
                parent::__construct(__CLASS__);
 
-               // Debug message
-               if (((defined('DEBUG_COMPANY')) || (defined('DEBUG_ALL'))) && (defined('DEBUG_CONSTRUCT'))) {
-                       $this->getDebugInstance()->output(sprintf("[%s:%d] Konstruktor erreicht.<br />\n",
-                               __CLASS__,
-                               __LINE__
-                       ));
-               }
-
                // Set description
                $this->setObjectDescription("Reederei");
 
index b8bd26c690c6fe09f9f2e46f91cab4b65dbbf00f..160b7bf4473818384d9b426d68c80a34029f712d 100644 (file)
@@ -30,13 +30,6 @@ class Berth extends BaseConstruction {
 
        // Konstruktor
        protected function __construct () {
-               if (((defined('DEBUG_MODE')) || (defined('DEBUG_ALL'))) && (defined('DEBUG_CONSTRUCT'))) {
-                       $this->getDebugInstance()->output(sprintf("[%s:%d] Konstruktor erreicht.<br />\n",
-                               __CLASS__,
-                               __LINE__
-                       ));
-               }
-
                // Call parent constructor
                parent::__construct(__CLASS__);
 
index 24beeddd4b8ff9d5ed755db8b90e42942b1b7c49..60974e0ac4d2d840dcc65cae47d777bcb85f2d3d 100644 (file)
@@ -30,11 +30,6 @@ class BaseConstruction extends BaseSimulator {
                // Eltern-Konstrutor aufrufen
                parent::__construct($class);
 
-               // Debug message
-               if ((defined('DEBUG_CORE')) && (defined('DEBUG_CONSTRUCT'))) $this->getDebugInstance()->output(sprintf("[%s:] Konstruktor erreicht.<br />\n",
-                       $this->__toString()
-               ));
-
                // Set description
                $this->setObjectDescription("Namenlose Landkonstruktion");
 
index 879786d2f873a713ac9560edc0a179d1112e1c0b..5209b569c6dd38b3e1ce5f1676d1a30a7b70eebe 100644 (file)
@@ -27,8 +27,6 @@ class DryDock extends BaseConstruction {
 
        // Konstruktor
        protected function __construct () {
-               if (((defined('DEBUG_MODE')) || (defined('DEBUG_ALL'))) && (defined('DEBUG_CONSTRUCT'))) $this->getDebugInstance()->output("[DryDock:] Konstruktor erreicht.<br />\n");
-
                // Call parent constructor
                parent::__construct(__CLASS__);
 
index e414118b714c4811de8f38a208469c5ad252a447..3bdc297b34a2e5b503c9c4004f196d794ff44404 100644 (file)
@@ -39,9 +39,6 @@ class Harbor extends BaseConstruction {
                // Call parent constructor
                parent::__construct(__CLASS__);
 
-               // Debug message
-               if (((defined('DEBUG_HARBOR')) || (defined('DEBUG_ALL'))) && (defined('DEBUG_CONSTRUCT'))) $this->getDebugInstance()->output("[Harbor:] Konstruktor erreicht.<br />\n");
-
                // Set description
                $this->setObjectDescription("Hafen");
 
index 6ec76c22584cb7be5ff0b22090c3ca46f6f35262..ad0a631bc30b05db336545626e792ad775784d50 100644 (file)
@@ -27,13 +27,6 @@ class Terminal extends BaseConstruction {
 
        // Konstruktor
        protected function __construct () {
-               if (((defined('DEBUG_MODE')) || (defined('DEBUG_ALL'))) && (defined('DEBUG_CONSTRUCT'))) {
-                       $this->getDebugInstance()->output(sprintf("[%s:%d] Konstruktor erreicht.<br />\n",
-                               __CLASS__,
-                               __LINE__
-                       ));
-               }
-
                // Call parent constructor
                parent::__construct(__CLASS__);
 
index 29084843a2294ceb728f2a2e011ff9787e42839b..61d2500b485430bb0e85c702c6ad4caf76def60d 100644 (file)
@@ -49,14 +49,6 @@ class Shipyard extends BaseConstruction {
                // Call parent constructor
                parent::__construct(__CLASS__);
 
-               // Debug message
-               if (((defined('DEBUG_SHIPYARD')) || (defined('DEBUG_ALL'))) && (defined('DEBUG_CONSTRUCT'))) {
-                       $this->getDebugInstance()->output(sprintf("[%s:%d] Konstruktor erreicht.<br />\n",
-                               __CLASS__,
-                               __LINE__
-                       ));
-               }
-
                // Set description
                $this->setObjectDescription("Werft");
 
index 9e74079a7e17ebde3006fbc93b00483945aca905..1306206a811acfbabe5047446b22cee2546ac978 100644 (file)
@@ -34,14 +34,6 @@ class BaseDrive extends BaseSimulator {
                // Call parent constructor
                parent::__construct($class);
 
-               // Debug message
-               if (((defined('DEBUG_DRIVE')) || (defined('DEBUG_ALL'))) && (defined('DEBUG_CONSTRUCT'))) {
-                       $this->getDebugInstance()->output(sprintf("[%s:%d] Konstruktor erreicht.<br />\n",
-                               __CLASS__,
-                               __LINE__
-                       ));
-               }
-
                // Set description
                $this->setObjectDescription("Namenloser Antrieb");
 
index 699c7219d5a89037c3cd2a723036ef4aee70f92b..77e2ba9b43148fd94f5ffc92fc70ab555cceec93 100644 (file)
@@ -27,14 +27,6 @@ class Motor extends BaseDrive implements TradeableItem, ConstructableShipPart {
                // Call parent constructor
                parent::__construct(__CLASS__);
 
-               // Debug message
-               if (((defined('DEBUG_DRIVE')) || (defined('DEBUG_ALL'))) && (defined('DEBUG_CONSTRUCT'))) {
-                       $this->getDebugInstance()->output(sprintf("[%s:%d] Konstruktor erreicht.<br />\n",
-                               __CLASS__,
-                               __LINE__
-                       ));
-               }
-
                // Set description
                $this->setObjectDescription("Namenloser Motor");
 
index 9f2061775b711e92bf1f9fe815fd052a918647b3..fa2776ba0e488bec2e8278c9fc01b03dc1e6a7e0 100644 (file)
@@ -30,14 +30,6 @@ class BaseShipPart extends BaseSimulator {
                // Call parent constructor
                parent::__construct($class);
 
-               // Debug message
-               if (((defined('DEBUG_SHIPPART')) || (defined('DEBUG_ALL'))) && (defined('DEBUG_CONSTRUCT'))) {
-                       $this->getDebugInstance()->output(sprintf("[%s:%d:] Kontruktor erreicht.<br />\n",
-                               __CLASS__,
-                               __LINE__
-                       ));
-               }
-
                // Beschreibung
                $this->setObjectDescription("Schiffsteil");
 
index fdde3262b25f5be2f6bfffdb90edaa4083fcbc9a..1329eac9be559e139514a3ac5816816a77bdd3f4 100644 (file)
@@ -27,14 +27,6 @@ class MaschineRoom extends BaseShipPart {
                // Call parent constructor
                parent::__construct(__CLASS__);
 
-               // Debug message
-               if (((defined('DEBUG_MODE')) || (defined('DEBUG_ALL'))) && (defined('DEBUG_CONSTRUCT'))) {
-                       $this->getDebugInstance()->output(sprintf("[%s:%d] Konstruktor erreicht.<br />\n",
-                               __CLASS__,
-                               __LINE__
-                       ));
-               }
-
                // Set description
                $this->setObjectDescription("Maschinenraum");
 
index d5aa01e4c26329227d7df4d3b5485370b92b0191..d81e4b2d8ba6c256b11970b9d2e8d8cd010ab5d4 100644 (file)
@@ -40,10 +40,6 @@ class SimulatorPersonell extends BasePersonell {
                // Call parent constructor
                parent::__construct(__CLASS__);
 
-               if (((defined('DEBUG_PERSONELL')) || (defined('DEBUG_ALL'))) && (defined('DEBUG_CONSTRUCT'))) $this->getDebugInstance()->output(sprintf("[%s:] Konstruktor erreicht.<br />\n",
-                       $this->__toString()
-               ));
-
                // Set description
                $this->setObjectDescription("Simulationspersonal");
 
index b97f70c7d6e75e0e38ea910040ea0287729d5269..36b97c4da1e0c1e284de68e507afe0f6b1efdeee 100644 (file)
@@ -30,14 +30,6 @@ class CompanyEmployee extends SimulatorPersonell {
                // Call parent constructor
                parent::__construct(__CLASS__);
 
-               // Debug message
-               if ((((defined('DEBUG_COMPANY_EMPLOYEE')) && (defined('DEBUG_PERSONELL'))) || (defined('DEBUG_ALL'))) && (defined('DEBUG_CONSTRUCT'))) {
-                       $this->getDebugInstance()->output(sprintf("[%s:%d] Konstruktor erreicht.<br />\n",
-                               __CLASS__,
-                               __LINE__
-                       ));
-               }
-
                // Set description
                $this->setObjectDescription("Firmenangestellte(r)");
 
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();
        }
index a581c120713946b36a54c2c7cb148b5c8303cdd4..3340a68aa632d8c94c1dfc9b6fca1c3ad64bc6d0 100644 (file)
@@ -28,14 +28,6 @@ class PassengerShip extends BaseShip implements ConstructableShip, LimitableObje
                // Eltern-Kontruktor aufrufen
                parent::__construct(__CLASS__);
 
-               // Debug message
-               if (((defined('DEBUG_SHIP')) || (defined('DEBUG_ALL'))) && (defined('DEBUG_CONSTRUCT'))) {
-                       $this->getDebugInstance()->output(sprintf("[%s:%d] Konstruktor erreicht.<br />\n",
-                               __CLASS__,
-                               __LINE__
-                       ));
-               }
-
                // Set description
                $this->setObjectDescription("Passagier-Schiff");
 
index 8620ce95d71d7544a0c26607d9ad19a32fccfdb2..ebcb4e89298df240c2ac837aadfb9fcb45a3f893 100644 (file)
@@ -30,14 +30,6 @@ class BaseStructure extends BaseSimulator {
                // Call parent constructor
                parent::__construct($class);
 
-               // Debug message
-               if (((defined('DEBUG_STRUCTURE')) || (defined('DEBUG_ALL'))) && (defined('DEBUG_CONSTRUCT'))) {
-                       $this->getDebugInstance()->output(sprintf("[%s:%d] Konstruktor erreicht.<br />\n",
-                               __CLASS__,
-                               __LINE__
-                       ));
-               }
-
                // Set description
                $this->setObjectDescription("Schiffsstrukturen");
 
index 43e8a2010824a0ee807d1b71b491cfc3bd53ea90..ede1c4ef22059c6fa6180074930f2c6474994bde 100644 (file)
@@ -27,14 +27,6 @@ class BaseCabin extends BaseCabinStructure {
                // Call parent constructor
                parent::__construct($class);
 
-               // Debug message
-               if (((defined('DEBUG_CABIN')) || (defined('DEBUG_ALL'))) && (defined('DEBUG_CONSTRUCT'))) {
-                       $this->getDebugInstance()->output(sprintf("[%s:%d] Konstruktor erreicht.<br />\n",
-                               __CLASS__,
-                               __LINE__
-                       ));
-               }
-
                // Set description
                $this->setObjectDescription("Kabine");
        }
index 63574618785e46c40cc24b69d96cb651a06b207a..66927fb910fbc1d8523df692f9710a663f74d5ea 100644 (file)
@@ -27,14 +27,6 @@ class EconomyCabin extends BaseCabin implements TradeableItem, ConstructableShip
                // Call parent constructor
                parent::__construct(__CLASS__);
 
-               // Debug message
-               if (((defined('DEBUG_CABIN')) || (defined('DEBUG_ALL'))) && (defined('DEBUG_CONSTRUCT'))) {
-                       $this->getDebugInstance()->output(sprintf("[%s:%d] Konstruktor erreicht.<br />\n",
-                               __CLASS__,
-                               __LINE__
-                       ));
-               }
-
                // Set description
                $this->setObjectDescription("Economy-Class-Kabine");
 
index 46e9880cfe5372faec1ee46b0e8d25d7227a2bf1..4875e4f2405657ca707d68e775b1368c13b10014 100644 (file)
@@ -27,12 +27,6 @@ class LowCabin extends BaseCabin implements TradeableItem, ConstructableShipPart
                // Call parent constructor
                parent::__construct(__CLASS__);
 
-               // Debug message
-               if (((defined('DEBUG_CABIN')) || (defined('DEBUG_ALL'))) && (defined('DEBUG_CONSTRUCT'))) $this->getDebugInstance()->output(sprintf("[%s:%d] Konstruktor erreicht.<br />\n",
-                       __CLASS__,
-                       __LINE__
-               ));
-
                // Set description
                $this->setObjectDescription("2Star-Class-Kabine");
 
index 060060e59dbd8bb747c55a0a5c27ac8087d0c3d7..19f8495d98f38336f06aff3bb761cacf074855e0 100644 (file)
@@ -27,12 +27,6 @@ class LuxuryCabin extends BaseCabin implements TradeableItem, ConstructableShipP
                // Call parent constructor
                parent::__construct(__CLASS__);
 
-               // Debug message
-               if (((defined('DEBUG_CABIN')) || (defined('DEBUG_ALL'))) && (defined('DEBUG_CONSTRUCT'))) $this->getDebugInstance()->output(sprintf("[%s:%d] Konstruktor erreicht.<br />\n",
-                       __CLASS__,
-                       __LINE__
-               ));
-
                // Set description
                $this->setObjectDescription("Luxuskabine");
 
index 020fd14869857329c04a06b83a371e9a1cca9a52..ea9e14a38f05667c347392636e0c147a8b1f9398 100644 (file)
@@ -27,12 +27,6 @@ class PremierCabin extends BaseCabin implements TradeableItem, ConstructableShip
                // Call parent constructor
                parent::__construct(__CLASS__);
 
-               // Debug message
-               if (((defined('DEBUG_CABIN')) || (defined('DEBUG_ALL'))) && (defined('DEBUG_CONSTRUCT'))) $this->getDebugInstance()->output(sprintf("[PremierCabin:] Konstruktor erreicht.<br />\n",
-                       __CLASS__,
-                       __LINE__
-               ));
-
                // Set description
                $this->setObjectDescription("Premier-Class-Kabine");
 
index 31253aef2942264559b8ad3e13d45a2eed416189..f38e5b7288df15d7c4fd3e875ce43e21b877fa3e 100644 (file)
@@ -37,14 +37,6 @@ class BaseCabinStructure extends BaseStructure {
                // Call parent constructor
                parent::__construct($class);
 
-               // Debug message
-               if (((defined('DEBUG_STRUCTURE')) || (defined('DEBUG_ALL'))) && (defined('DEBUG_CONSTRUCT'))) {
-                       $this->getDebugInstance()->output(sprintf("[%s:%d] Konstruktor erreicht.<br />\n",
-                               __CLASS__,
-                               __LINE__
-                       ));
-               }
-
                // Set description
                $this->setObjectDescription("Kabinenstruktur");
        }
index 53f6a9cfdea08b63364c63872414028b435acb83..af8c74d61cc10a62603dd72604499f11f26f94b8 100644 (file)
@@ -30,14 +30,6 @@ class BaseDeckStructure extends BaseStructure {
                // Call parent constructor
                parent::__construct($class);
 
-               // Debug message
-               if (((defined('DEBUG_STRUCTURE')) || (defined('DEBUG_ALL'))) && (defined('DEBUG_CONSTRUCT'))) {
-                       $this->getDebugInstance()->output(sprintf("[%s:%d] Konstruktor erreicht.<br />\n",
-                               __CLASS__,
-                               __LINE__
-                       ));
-               }
-
                // Set description
                $this->setObjectDescription("Deckstruktur");
        }
index 74eb19b0bcfc3695c57e7b740ac639a6420aef3a..fe3070e2d51f62d9ceb3e618e1ea91976ca94660 100644 (file)
@@ -29,14 +29,6 @@ class BaseUpperStructure extends BaseStructure {
                // Call parent constructor
                parent::__construct($class);
 
-               // Debug message
-               if (((defined('DEBUG_STRUCTURE')) || (defined('DEBUG_ALL'))) && (defined('DEBUG_CONSTRUCT'))) {
-                       $this->getDebugInstance()->output(sprintf("[%s:%d] Konstruktor erreicht.<br />\n",
-                               __CLASS__,
-                               __LINE__
-                       ));
-               }
-
                // Set description
                $this->setObjectDescription("Aufbauten");
        }
index cf3289d64ecd4766f0c3e474c0c36ed8165c0d18..89bdc2714ed0ff792a7877008413c4c6eeb57620 100644 (file)
@@ -27,12 +27,6 @@ class CarDeck extends BaseDeck implements TradeableItem, ConstructableShipPart {
                // Call parent constructor
                parent::__construct(__CLASS__);
 
-               // Debug message
-               if (((defined('DEBUG_DECK')) || (defined('DEBUG_ALL'))) && (defined('DEBUG_CONSTRUCT'))) $this->getDebugInstance()->output(sprintf("[%s:%d] Konstruktor erreicht.<br />\n",
-                       __CLASS__,
-                       __LINE__
-               ));
-
                // Set description
                $this->setObjectDescription("Autodeck");
 
index d464f77bcea9d5c405ed8d987e219bc09828ce54..209b0728855e19a7f42e9cf37a65b405aa1e8cc2 100644 (file)
@@ -27,12 +27,6 @@ class TrainDeck extends BaseDeck implements TradeableItem, ConstructableShipPart
                // Call parent constructor
                parent::__construct(__CLASS__);
 
-               // Debug message
-               if (((defined('DEBUG_DECK')) || (defined('DEBUG_ALL'))) && (defined('DEBUG_CONSTRUCT'))) $this->getDebugInstance()->output(sprintf("[%s:%d] Konstruktor erreicht.<br />\n",
-                       __CLASS__,
-                       __LINE__
-               ));
-
                // Set description
                $this->setObjectDescription("Zug-Deck");
 
index e23f894015097944be1bfb1428f0522a63cd7f56..64c4b57de0770e79a96662a881e9d336696a36b3 100644 (file)
@@ -28,12 +28,6 @@ class TruckDeck extends BaseDeck implements TradeableItem, ConstructableShipPart
                // Call parent constructor
                parent::__construct(__CLASS__);
 
-               // Debug message
-               if (((defined('DEBUG_DECK')) || (defined('DEBUG_ALL'))) && (defined('DEBUG_CONSTRUCT'))) $this->getDebugInstance()->output(sprintf("[%s:%d] Konstruktor erreicht.<br />\n",
-                       __CLASS__,
-                       __LINE__
-               ));
-
                // Set description
                $this->setObjectDescription("LKW-Deck");
 
index 13768b8ca0780381b94bbb50ad3a0d85e5e98f4e..292d8aee2d7f2e0a7e7c26d7eb29ab73a1d45d40 100644 (file)
@@ -29,12 +29,6 @@ class BaseDeck extends BaseDeckStructure {
                // Call parent constructor
                parent::__construct($class);
 
-               // Debub message
-               if (((defined('DEBUG_DECK')) || (defined('DEBUG_ALL'))) && (defined('DEBUG_CONSTRUCT'))) $this->getDebugInstance()->output(sprintf("[%s:%d] Konstruktor erreicht.<br />\n",
-                       __CLASS__,
-                       __LINE__
-               ));
-
                // Set description
                $this->setObjectDescription("Allgemeines Deck");
        }
index 239a7170835e4eed4adc86ddbf28bcf5d19aa9b8..bbd873b892103f388d967a886b0da0648c190daa 100644 (file)
@@ -27,12 +27,6 @@ class Bridge extends BaseUpperStructure implements TradeableItem, ConstructableS
                // Call parent constructor
                parent::__construct(__CLASS__);
 
-               // Debug message
-               if (((defined('DEBUG_MODE')) || (defined('DEBUG_ALL'))) && (defined('DEBUG_CONSTRUCT'))) $this->getDebugInstance()->output(sprintf("[%s:%d] Konstruktor erreicht.<br />\n",
-                       __CLASS__,
-                       __LINE__
-               ));
-
                // Set description
                $this->setObjectDescription("Br&uuml;cke");