]> git.mxchange.org Git - shipsimu.git/blobdiff - application/ship-simu/main/structures/extended/decks/cargo/class_CarDeck.php
More conventions than code added:
[shipsimu.git] / application / ship-simu / main / structures / extended / decks / cargo / class_CarDeck.php
index cf3289d64ecd4766f0c3e474c0c36ed8165c0d18..f2966f9d8ff3a237f89604d51ec3ce4981d2aa3a 100644 (file)
@@ -4,9 +4,9 @@
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0.0
- * @copyright  Copyright(c) 2007, 2008 Roland Haeder, this is free software
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, this is free software
  * @license            GNU GPL 3.0 or any newer version
- * @link               http://www.ship-simu.org
+ * @link               http://www.ship-simu.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
@@ -27,17 +27,11 @@ class CarDeck extends BaseDeck implements TradeableItem, ConstructableShipPart {
                // Call parent constructor
                parent::__construct(__CLASS__);
 
-               // Debug message
-               if (((defined('DEBUG_DECK')) || (defined('DEBUG_ALL'))) && (defined('DEBUG_CONSTRUCT'))) $this->getDebugInstance()->output(sprintf("[%s:%d] Konstruktor erreicht.<br />\n",
-                       __CLASS__,
-                       __LINE__
-               ));
-
                // Set description
                $this->setObjectDescription("Autodeck");
 
                // Generate unique ID number
-               $this->createUniqueID();
+               $this->generateUniqueId();
 
                // Clean up a little
                $this->removeSystemArray();
@@ -49,7 +43,7 @@ class CarDeck extends BaseDeck implements TradeableItem, ConstructableShipPart {
                $carInstance = new CarDeck();
 
                // Debug message
-               if ((defined('DEBUG_DECK')) || (defined('DEBUG_ALL'))) $carInstance->getDebugInstance()->output(sprintf("[%s:%d] Ein Autodeck wird konstruiert...<br />\n",
+               if ((defined('DEBUG_DECK')) || (defined('DEBUG_ALL'))) $carInstance->getDebugInstance()->output(sprintf("[%s:%d] Ein Autodeck wird konstruiert...",
                        __CLASS__,
                        __LINE__
                ));
@@ -71,13 +65,6 @@ class CarDeck extends BaseDeck implements TradeableItem, ConstructableShipPart {
        public function isTradeable () {
                return true;
        }
-
-       /**
-        * Limits this object with an ObjectLimits instance
-        */
-       public function limitObject (ObjectLimits $limitInstance) {
-               ApplicationEntryPoint::app_die("".__METHOD__." reached! Stub!");
-       }
 }
 
 // [EOF]