- * @author Roland Haeder <webmaster@ship-simu.org>
+ * @author Roland Haeder <webmaster@shipsimu.org>
* @version 0.0.0
* @version 0.0.0
- * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software
+ * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
* @license GNU GPL 3.0 or any newer version
* @license GNU GPL 3.0 or any newer version
- * @link http://www.ship-simu.org
+ * @link http://www.shipsimu.org
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -27,28+27,15 @@ class Bridge extends BaseUpperStructure implements TradeableItem, ConstructableS
// Call parent constructor
parent::__construct(__CLASS__);
// Call parent constructor
parent::__construct(__CLASS__);
- // Set description
- $this->setObjectDescription("Brücke");
-
- // Generate unique ID number
- $this->generateUniqueId();
-
// Clean up a little
// Clean up a little
- $this->removeSystemArray();
$this->removePartInstance();
}
// Eine Kommandobruecke erstellen
$this->removePartInstance();
}
// Eine Kommandobruecke erstellen
- public final static function createBridge ($width, $height, $length) {
+ public static final function createBridge ($width, $height, $length) {
// Get new instance
$bridgeInstance = new Bridge();
// Get new instance
$bridgeInstance = new Bridge();
- // Debug message
- if ((defined('DEBUG_MODE')) || (defined('DEBUG_ALL'))) $bridgeInstance->getDebugInstance()->output(sprintf("[%s:%d] Eine Brücke wird konstruiert...<br />\n",