X-Git-Url: https://git.mxchange.org/?p=shipsimu.git;a=blobdiff_plain;f=application%2Fship-simu%2Fmain%2Fstructures%2Fextended%2Fclass_BaseDeckStructure.php;h=371a004d7bc5a06317c3fe28a9c4bfd58302463b;hp=ce8abb43cc12e2880aa83702c898b5521b44bbc6;hb=efba981c9bf18c733dfde945b09111ff4b6007ce;hpb=ed7ca64368d512574efeda0f6b8d8e970d41aa1d diff --git a/application/ship-simu/main/structures/extended/class_BaseDeckStructure.php b/application/ship-simu/main/structures/extended/class_BaseDeckStructure.php index ce8abb4..371a004 100644 --- a/application/ship-simu/main/structures/extended/class_BaseDeckStructure.php +++ b/application/ship-simu/main/structures/extended/class_BaseDeckStructure.php @@ -36,7 +36,7 @@ class BaseDeckStructure extends BaseStructure { // Deckstruktur dem Schiff hinzufuegen public function addShipPartToShip (ConstructableShip $shipInstance, ConstructableShipPart $deckInstance) { - if ((defined('DEBUG_STRUCTURE')) || (defined('DEBUG_ALL'))) $this->getDebugInstance()->output(sprintf("[%s:%d] Das Deck %s wird für das Schiff %s konstruiert.", + if ((defined('DEBUG_STRUCTURE')) || (defined('DEBUG_ALL'))) $this->debugOutput(sprintf("[%s:%d] Das Deck %s wird für das Schiff %s konstruiert.", __CLASS__, __LINE__, $deckInstance->getObjectDescription(), @@ -50,7 +50,7 @@ class BaseDeckStructure extends BaseStructure { $this->setNumDecks($deckInstance->getNumDecks()); $deckInstance->removeNumDecks(); - if ((defined('DEBUG_STRUCTURE')) || (defined('DEBUG_ALL'))) $this->getDebugInstance()->output(sprintf("[%s:%d] Das Deck %s wurde in das Schiff %s eingebaut.", + if ((defined('DEBUG_STRUCTURE')) || (defined('DEBUG_ALL'))) $this->debugOutput(sprintf("[%s:%d] Das Deck %s wurde in das Schiff %s eingebaut.", __CLASS__, __LINE__, $deckInstance->getObjectDescription(),