projects
/
shipsimu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
'final' added to factory methods
[shipsimu.git]
/
application
/
ship-simu
/
main
/
structures
/
extended
/
upper
/
class_Bridge.php
diff --git
a/application/ship-simu/main/structures/extended/upper/class_Bridge.php
b/application/ship-simu/main/structures/extended/upper/class_Bridge.php
index 7f0fce44d3105418e0ba5f55f5c320dd42f5f19f..995b7a2d4d231796fd7d300b3e416a680707e984 100644
(file)
--- a/
application/ship-simu/main/structures/extended/upper/class_Bridge.php
+++ b/
application/ship-simu/main/structures/extended/upper/class_Bridge.php
@@
-45,7
+45,7
@@
class Bridge extends BaseUpperStructure implements ItemIsTradeable, Constructabl
}
// Eine Kommandobruecke erstellen
- public static function createBridge ($width, $height, $length) {
+ public
final
static function createBridge ($width, $height, $length) {
// Get new instance
$bridgeInstance = new Bridge();