More renamed
[shipsimu.git] / application / ship-simu / main / structures / extended / decks / cargo / class_TruckDeck.php
index e23f894015097944be1bfb1428f0522a63cd7f56..6a87d85a500eb56ab0398ad937ef97bc7d6f3118 100644 (file)
@@ -3,11 +3,11 @@
  * A truck and bus decks. Also other vehicle may be put in here if they don't
  * match into the car deck.
  *
- * @author             Roland Haeder <webmaster@ship-simu.org>
+ * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright(c) 2007, 2008 Roland Haeder, this is free software
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
  * @license            GNU GPL 3.0 or any newer version
- * @link               http://www.ship-simu.org
+ * @link               http://www.shipsimu.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,34 +27,13 @@ class TruckDeck extends BaseDeck implements TradeableItem, ConstructableShipPart
        protected function __construct () {
                // 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("LKW-Deck");
-
-               // Generate unique ID number
-               $this->createUniqueID();
-
-               // Clean up a little
-               $this->removeSystemArray();
        }
 
        // LKW-Deck erstellen
-       public final static function createTruckDeck ($numDecks, $dim) {
+       public static final function createTruckDeck ($numDecks, $dim) {
                // 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);
 
@@ -72,13 +51,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]