]> git.mxchange.org Git - shipsimu.git/blobdiff - application/ship-simu/main/structures/extended/cabines/ship/class_PremierCabin.php
Method constructor() removed, several small fixes
[shipsimu.git] / application / ship-simu / main / structures / extended / cabines / ship / class_PremierCabin.php
index b4e5b74fbbc5030f252b68649e03e2410cb9c6a6..020fd14869857329c04a06b83a371e9a1cca9a52 100644 (file)
  * 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 PremierCabin 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("[PremierCabin:] Konstruktor erreicht.<br />\n",
@@ -34,7 +34,7 @@ class PremierCabin extends BaseCabin implements TradeableItem, ConstructableShip
                ));
 
                // Set description
-               $this->setPartDescr("Premier-Class-Kabine");
+               $this->setObjectDescription("Premier-Class-Kabine");
 
                // Generate unique ID number
                $this->createUniqueID();