]> git.mxchange.org Git - shipsimu.git/blobdiff - application/ship-simu/main/parts/class_BaseShipPart.php
Copyright updated, menu class added for 'home'
[shipsimu.git] / application / ship-simu / main / parts / class_BaseShipPart.php
index 07ecd92d89c28e876267077f27106fefb8f290f5..1abb7be77c9b66393262007c6e53d94626830ac2 100644 (file)
@@ -4,7 +4,7 @@
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0.0
- * @copyright  Copyright(c) 2007, 2008 Roland Haeder, this is free software
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
  *
@@ -26,15 +26,9 @@ class BaseShipPart extends BaseSimulator {
        private $price = 0.00;
 
        // Konstruktor
-       protected function __construct($class) {
+       protected function __construct($className) {
                // Call parent constructor
-               parent::__construct($class);
-
-               // Beschreibung
-               $this->setObjectDescription("Schiffsteil");
-
-               // Clean up a little
-               $this->removeNumberFormaters();
+               parent::__construct($className);
        }
 
        // Setter for price