]> git.mxchange.org Git - shipsimu.git/blobdiff - application/ship-simu/main/structures/extended/upper/class_Bridge.php
'final' added to factory methods
[shipsimu.git] / application / ship-simu / main / structures / extended / upper / class_Bridge.php
index 7f0fce44d3105418e0ba5f55f5c320dd42f5f19f..995b7a2d4d231796fd7d300b3e416a680707e984 100644 (file)
@@ -45,7 +45,7 @@ class Bridge extends BaseUpperStructure implements ItemIsTradeable, Constructabl
        }
 
        // Eine Kommandobruecke erstellen
        }
 
        // Eine Kommandobruecke erstellen
-       public static function createBridge ($width, $height, $length) {
+       public final static function createBridge ($width, $height, $length) {
                // Get new instance
                $bridgeInstance = new Bridge();
 
                // Get new instance
                $bridgeInstance = new Bridge();