]> git.mxchange.org Git - shipsimu.git/blobdiff - application/ship-simu/main/structures/class_BaseStructure.php
TODOs.txt updated, typo fixed
[shipsimu.git] / application / ship-simu / main / structures / class_BaseStructure.php
index 6b157d910fd80e634709fc1e9b0427dc01d6b644..2ec432d4628c0cdede5a1953214104451c5759cd 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 BaseStructure extends BaseSimulator {
        private $price = 0.00;
 
        // Konstruktor (hier keine Exceptions aendern!)
-       protected function __construct ($class) {
+       protected function __construct ($className) {
                // Call parent constructor
-               parent::__construct($class);
-
-               // Set description
-               $this->setObjectDescription("Schiffsstrukturen");
-
-               // Clean up a little
-               $this->removeNumberFormaters();
+               parent::__construct($className);
        }
 
        // Setter for price