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
/
drives
/
motor
/
class_Motor.php
diff --git
a/application/ship-simu/main/drives/motor/class_Motor.php
b/application/ship-simu/main/drives/motor/class_Motor.php
index 1e1bb2a69ea18ae5659c4d8969876a5301bc0306..eb3ac291f22e87a921760801c4717487b2810a52 100644
(file)
--- a/
application/ship-simu/main/drives/motor/class_Motor.php
+++ b/
application/ship-simu/main/drives/motor/class_Motor.php
@@
-46,7
+46,7
@@
class Motor extends BaseDrive implements ItemIsTradeable, ConstructableShipPart
}
// Einen Motor erstellen
- public static function createMotor ($descr, $hp, $cams, $w, $h, $l) {
+ public
final
static function createMotor ($descr, $hp, $cams, $w, $h, $l) {
// Get new instance
$motorInstance = new Motor();