X-Git-Url: https://git.mxchange.org/?p=shipsimu.git;a=blobdiff_plain;f=application%2Fship-simu%2Fmain%2Fstructures%2Fextended%2Fcabines%2Fship%2Fclass_EconomyCabin.php;fp=application%2Fship-simu%2Fmain%2Fstructures%2Fextended%2Fcabines%2Fship%2Fclass_EconomyCabin.php;h=63574618785e46c40cc24b69d96cb651a06b207a;hp=7b41210d7292e2ea92f9d0a69ec8830ccd43cbf8;hb=1d128d8532290e84885d09d2d3f0060abd08e49e;hpb=ace5ab5addea14f33c3576db5fae85f82d247d87
diff --git a/application/ship-simu/main/structures/extended/cabines/ship/class_EconomyCabin.php b/application/ship-simu/main/structures/extended/cabines/ship/class_EconomyCabin.php
index 7b41210..6357461 100644
--- a/application/ship-simu/main/structures/extended/cabines/ship/class_EconomyCabin.php
+++ b/application/ship-simu/main/structures/extended/cabines/ship/class_EconomyCabin.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 EconomyCabin 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'))) {
@@ -36,7 +36,7 @@ class EconomyCabin extends BaseCabin implements TradeableItem, ConstructableShip
}
// Set description
- $this->setPartDescr("Economy-Class-Kabine");
+ $this->setObjectDescription("Economy-Class-Kabine");
// Generate unique ID number
$this->createUniqueID();