]> git.mxchange.org Git - shipsimu.git/blobdiff - application/ship-simu/main/structures/extended/decks/cargo/class_TruckDeck.php
final added, code clean-ups
[shipsimu.git] / application / ship-simu / main / structures / extended / decks / cargo / class_TruckDeck.php
index 112c282453583df641adaf3e8e364e7ba1ad0ef5..4f29d603472fa80cc80026849c9628be9600e390 100644 (file)
@@ -22,7 +22,7 @@
  * You should have received a copy of the GNU General Public License
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
-class TruckDeck extends BaseDeck implements ItemIsTradeable, ConstructableShipPart {
+class TruckDeck extends BaseDeck implements TradeableItem, ConstructableShipPart {
        // Konstruktor
        private function __construct () {
                // Call parent constructor
@@ -68,15 +68,6 @@ class TruckDeck extends BaseDeck implements ItemIsTradeable, ConstructableShipPa
                return $truckInstance;
        }
 
-       // Deckanzahl entfernen
-       public function removeNumDecks() {
-               if ((defined('DEBUG_DECK')) || (defined('DEBUG_ALL'))) $this->getDebugInstance()->output(sprintf("[%s:%d] Anzahl Decks wurde gel&ouml;scht.<br />\n",
-                       __CLASS__,
-                       __LINE__
-               ));
-               parent::removeNumDecks();
-       }
-
        // Overwritten method for tradeable items
        public function isTradeable () {
                return true;