]> git.mxchange.org Git - shipsimu.git/commitdiff
'final' operator fixed, uncessary methods removed
authorRoland Häder <roland@mxchange.org>
Sat, 8 Mar 2008 14:52:41 +0000 (14:52 +0000)
committerRoland Häder <roland@mxchange.org>
Sat, 8 Mar 2008 14:52:41 +0000 (14:52 +0000)
application/ship-simu/main/class_BasePersonell.php
application/ship-simu/main/structures/extended/decks/cargo/class_CarDeck.php
application/ship-simu/main/structures/extended/decks/cargo/class_TrainDeck.php
application/ship-simu/main/structures/extended/decks/cargo/class_TruckDeck.php

index 848989c62683f015fdb29109da30ae74052881b6..d77fbaa05d9ff95e78bd3ac385beef1e6e05cd14 100644 (file)
@@ -162,7 +162,7 @@ class BasePersonell extends BaseFrameworkSystem implements Personellizer {
        }
 
        // Getter for surname
-       public final function getSurname () {
+       public function getSurname () {
                return $this->surname;
        }
 
index 397b3484f6809238bef485997ff71cd5d0eb7a2a..7369fd29eaca7736ea6397c7ee3b011d33c95a5a 100644 (file)
@@ -76,16 +76,6 @@ class CarDeck extends BaseDeck implements ItemIsTradeable, ConstructableShipPart
                parent::removeNumDecks();
        }
 
-       // Setter-Methode fuer Anzahl Decks
-       public final function setNumDecks($numDecks) {
-               parent::setNumDecks($numDecks);
-       }
-
-       // Getter-Methode fuer Anzahl Decks
-       public final function getNumDecks() {
-               return parent::getNumDecks();
-       }
-
        // Overwritten method for tradeable items
        public function isTradeable () {
                return true;
index 4c26c395870fa2fb6ea6fd42ed47dbefe7db7c80..d9c799068c08e697012a16382bed92c8697fd5eb 100644 (file)
@@ -76,16 +76,6 @@ class TrainDeck extends BaseDeck implements ItemIsTradeable, ConstructableShipPa
                parent::removeNumDecks();
        }
 
-       // Setter-Methode fuer Anzahl Decks
-       public final function setNumDecks ($numDecks) {
-               parent::setNumDecks($numDecks);
-       }
-
-       // Getter-Methode fuer Anzahl Decks
-       public final function getNumDecks() {
-               return parent::getNumDecks();
-       }
-
        // Overwritten method for tradeable items
        public function isTradeable () {
                return true;
index 99c901a02b93444b8776879801163c6b02a864a9..04823a298468a5a22b7063e0ab64d042a7a4ad44 100644 (file)
@@ -77,16 +77,6 @@ class TruckDeck extends BaseDeck implements ItemIsTradeable, ConstructableShipPa
                parent::removeNumDecks();
        }
 
-       // Setter-Methode fuer Anzahl Decks
-       public final function setNumDecks ($numDecks) {
-               parent::setNumDecks($numDecks);
-       }
-
-       // Getter-Methode fuer Anzahl Decks
-       public final function getNumDecks() {
-               return parent::getNumDecks();
-       }
-
        // Overwritten method for tradeable items
        public function isTradeable () {
                return true;