X-Git-Url: https://git.mxchange.org/?p=shipsimu.git;a=blobdiff_plain;f=application%2Fship-simu%2Fmain%2Fships%2Fpassenger%2Fclass_PassengerShip.php;h=4e8b1300e39636314cd1a5d7d4e02db679206436;hp=af742b3450c3ac5d18a994ce9ad1b9d952cfa543;hb=efba981c9bf18c733dfde945b09111ff4b6007ce;hpb=ed7ca64368d512574efeda0f6b8d8e970d41aa1d diff --git a/application/ship-simu/main/ships/passenger/class_PassengerShip.php b/application/ship-simu/main/ships/passenger/class_PassengerShip.php index af742b3..4e8b130 100644 --- a/application/ship-simu/main/ships/passenger/class_PassengerShip.php +++ b/application/ship-simu/main/ships/passenger/class_PassengerShip.php @@ -45,7 +45,7 @@ class PassengerShip extends BaseShip implements ConstructableShip { // Debug message if ((defined('DEBUG_SHIP')) || (defined('DEBUG_ALL'))) { - $passInstance->getDebugInstance()->output(sprintf("[%s:%d] Ein Passagier-Schiff wird erstellt.", + $passInstance->debugOutput(sprintf("[%s:%d] Ein Passagier-Schiff wird erstellt.", __CLASS__, __LINE__ )); @@ -93,7 +93,7 @@ class PassengerShip extends BaseShip implements ConstructableShip { } // Debug-Meldung ausgeben - $this->getDebugInstance()->output(sprintf("[%s:%d] Es stehen %d Betten vom Kabinen-Typ %s bereit.", + $this->debugOutput(sprintf("[%s:%d] Es stehen %d Betten vom Kabinen-Typ %s bereit.", __CLASS__, __LINE__, $total, @@ -102,7 +102,7 @@ class PassengerShip extends BaseShip implements ConstructableShip { } } else { // Keine Kabine! - if ((defined('DEBUG_SHIP')) || (defined('DEBUG_ALL'))) $this->getDebugInstance()->output(sprintf("[%s:%d] %s ist keine Kabine.", + if ((defined('DEBUG_SHIP')) || (defined('DEBUG_ALL'))) $this->debugOutput(sprintf("[%s:%d] %s ist keine Kabine.", __CLASS__, __LINE__, $el->getObjectDescription() @@ -110,7 +110,7 @@ class PassengerShip extends BaseShip implements ConstructableShip { } } // END - for - if ((defined('DEBUG_SHIP')) || (defined('DEBUG_ALL'))) $this->getDebugInstance()->output(sprintf("[%s:%d] Das %s mit dem Namen %s hat %d Betten.", + if ((defined('DEBUG_SHIP')) || (defined('DEBUG_ALL'))) $this->debugOutput(sprintf("[%s:%d] Das %s mit dem Namen %s hat %d Betten.", __CLASS__, __LINE__, $this->getObjectDescription(),