X-Git-Url: https://git.mxchange.org/?p=shipsimu.git;a=blobdiff_plain;f=application%2Fship-simu%2Fmain%2Fstructures%2Fextended%2Fcabines%2Fship%2Fclass_LowCabin.php;h=46e9880cfe5372faec1ee46b0e8d25d7227a2bf1;hp=ad0bc84ec9630575588bb82f0919f76ea4f5e390;hb=1d128d8532290e84885d09d2d3f0060abd08e49e;hpb=ace5ab5addea14f33c3576db5fae85f82d247d87 diff --git a/application/ship-simu/main/structures/extended/cabines/ship/class_LowCabin.php b/application/ship-simu/main/structures/extended/cabines/ship/class_LowCabin.php index ad0bc84..46e9880 100644 --- a/application/ship-simu/main/structures/extended/cabines/ship/class_LowCabin.php +++ b/application/ship-simu/main/structures/extended/cabines/ship/class_LowCabin.php @@ -19,13 +19,13 @@ * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * along with this program. If not, see . */ class LowCabin extends BaseCabin implements TradeableItem, ConstructableShipPart { // Konstruktor - private function __construct () { + protected function __construct () { // Call parent constructor - parent::constructor(__CLASS__); + parent::__construct(__CLASS__); // Debug message if (((defined('DEBUG_CABIN')) || (defined('DEBUG_ALL'))) && (defined('DEBUG_CONSTRUCT'))) $this->getDebugInstance()->output(sprintf("[%s:%d] Konstruktor erreicht.
\n", @@ -34,7 +34,7 @@ class LowCabin extends BaseCabin implements TradeableItem, ConstructableShipPart )); // Set description - $this->setPartDescr("2Star-Class-Kabine"); + $this->setObjectDescription("2Star-Class-Kabine"); // Generate unique ID number $this->createUniqueID();