* 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 <http://www.gnu.org/licenses/>.
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
class BaseUpperStructure extends BaseStructure {
/**
* Constructor for all super structures on a ship
*/
- private function __construct ($class) {
+ protected function __construct ($class) {
// Call parent constructor
- parent::constructor($class);
+ parent::__construct($class);
// Debug message
if (((defined('DEBUG_STRUCTURE')) || (defined('DEBUG_ALL'))) && (defined('DEBUG_CONSTRUCT'))) {
}
// Set description
- $this->setPartDescr("Aufbauten");
- }
-
- /**
- * Call new constructor
- */
- function constructor ($class) {
- $this->__construct($class);
+ $this->setObjectDescription("Aufbauten");
}
}