]> git.mxchange.org Git - shipsimu.git/blobdiff - application/ship-simu/main/class_BaseSimulator.php
getter, setter are all final; several code clean-ups
[shipsimu.git] / application / ship-simu / main / class_BaseSimulator.php
index a63ce111f1bd250c1033b3168db9c6f2a3519495..5671ee2a67515f62755185f849a34593af800df5 100644 (file)
@@ -33,7 +33,7 @@ class BaseSimulator extends BaseFrameworkSystem {
                // Set part description and class name
                $this->setPartDescr("Simulator-Basis-Einheit");
 
-               // Etwas aufraeumen, dies sollte ganz zum Schluss erfolgen!
+               // Clean up a little, dies sollte ganz zum Schluss erfolgen!
                $this->removeResizeFactorArray();
                $this->removeCurrPart();
                $this->removeCurrShip();
@@ -233,7 +233,7 @@ class BaseSimulator extends BaseFrameworkSystem {
                        ), 1);
                }
 
-               // Nochmals etwas aufraeumen
+               // Nochmals Clean up a little
                $this->removeResizeFactorArray();
                $this->removeCurrShip();
                $this->removeCurrPart();
@@ -303,7 +303,7 @@ class BaseSimulator extends BaseFrameworkSystem {
        }
 
        // Getter-Methode fuer Element aus resizeFactor
-       public function getResizeFactorElement ($el) {
+       public final function getResizeFactorElement ($el) {
                if (defined('DEBUG_CORE')) $this->getDebugInstance()->output(sprintf("[%s:] getResizeFactorElement erreicht. (element=%s)<br />\n",
                        $this->__toString(),
                        $el
@@ -318,7 +318,7 @@ class BaseSimulator extends BaseFrameworkSystem {
        }
 
        // Setter-Methode fuer Element in resizeFactor
-       public function setResizeFactorElement ($el, $value) {
+       public final function setResizeFactorElement ($el, $value) {
                if (defined('DEBUG_CORE')) $this->getDebugInstance()->output(sprintf("[%s:] Umberechnungsfaktor <strong>%s</strong>=<strong>%s</strong> gesetzt.<br />\n",
                        $this->__toString(),
                        $el,