]> git.mxchange.org Git - shipsimu.git/blobdiff - application/ship-simu/main/structures/extended/decks/cargo/class_TruckDeck.php
Several fixes for older tests
[shipsimu.git] / application / ship-simu / main / structures / extended / decks / cargo / class_TruckDeck.php
index 04823a298468a5a22b7063e0ab64d042a7a4ad44..ccbe596810d1d741d1ee6896442a180df4b7e91f 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
@@ -45,7 +45,7 @@ class TruckDeck extends BaseDeck implements ItemIsTradeable, ConstructableShipPa
        }
 
        // LKW-Deck erstellen
-       public static function createTruckDeck ($numDecks, $dim) {
+       public final static function createTruckDeck ($numDecks, $dim) {
                // Get new instance
                $truckInstance = new TruckDeck();