X-Git-Url: https://git.mxchange.org/?p=shipsimu.git;a=blobdiff_plain;f=application%2Fship-simu%2Fmain%2Fstructures%2Fextended%2Fupper%2Fclass_Bridge.php;h=239a7170835e4eed4adc86ddbf28bcf5d19aa9b8;hp=ec71072b447233a0b72e50c7421cb4d77239962b;hb=1d128d8532290e84885d09d2d3f0060abd08e49e;hpb=ace5ab5addea14f33c3576db5fae85f82d247d87
diff --git a/application/ship-simu/main/structures/extended/upper/class_Bridge.php b/application/ship-simu/main/structures/extended/upper/class_Bridge.php
index ec71072..239a717 100644
--- a/application/ship-simu/main/structures/extended/upper/class_Bridge.php
+++ b/application/ship-simu/main/structures/extended/upper/class_Bridge.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 Bridge extends BaseUpperStructure implements TradeableItem, ConstructableShipPart {
// Constructor
- private function __construct () {
+ protected function __construct () {
// Call parent constructor
- parent::constructor(__CLASS__);
+ parent::__construct(__CLASS__);
// Debug message
if (((defined('DEBUG_MODE')) || (defined('DEBUG_ALL'))) && (defined('DEBUG_CONSTRUCT'))) $this->getDebugInstance()->output(sprintf("[%s:%d] Konstruktor erreicht.
\n",
@@ -34,7 +34,7 @@ class Bridge extends BaseUpperStructure implements TradeableItem, ConstructableS
));
// Set description
- $this->setPartDescr("Brücke");
+ $this->setObjectDescription("Brücke");
// Generate unique ID number
$this->createUniqueID();