Debug mailer finished and debug messages removed:
[shipsimu.git] / application / ship-simu / main / structures / extended / decks / cargo / class_TruckDeck.php
index 64c4b57de0770e79a96662a881e9d336696a36b3..75e342eb6b3f21075cdbdda9103a98636d7d6005 100644 (file)
@@ -5,9 +5,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
@@ -32,7 +32,7 @@ class TruckDeck extends BaseDeck implements TradeableItem, ConstructableShipPart
                $this->setObjectDescription("LKW-Deck");
 
                // Generate unique ID number
-               $this->createUniqueID();
+               $this->generateUniqueId();
 
                // Clean up a little
                $this->removeSystemArray();
@@ -43,12 +43,6 @@ class TruckDeck extends BaseDeck implements TradeableItem, ConstructableShipPart
                // Get new instance
                $truckInstance = new TruckDeck();
 
-               // Debug message
-               if ((defined('DEBUG_DECK')) || (defined('DEBUG_ALL'))) $truckInstance->getDebugInstance()->output(sprintf("[%s:%d] Ein LKW-Deck wird konstruiert...<br />\n",
-                       __CLASS__,
-                       __LINE__
-               ));
-
                // Abmasse extrahieren
                $truckInstance->extractDimensions($dim);
 
@@ -66,13 +60,6 @@ class TruckDeck 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]