]> git.mxchange.org Git - core.git/blobdiff - inc/classes/main/streams/class_BaseStream.php
Registry rewritten, exception added #2
[core.git] / inc / classes / main / streams / class_BaseStream.php
index 728e6c3e4c4c72a6fbe789ccc4f10fdad458281d..ff567ff6959823c02dc6083d8369bff73e36022c 100644 (file)
@@ -4,7 +4,7 @@
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 Core Developer Team
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009, 2010 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
  *
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 class BaseStream extends BaseFrameworkSystem {
-       /**
-        * Random number generator instance (RNG)
-        */
-       private $rngInstance = null;
-
        /**
         * Protected constructor
         *
@@ -36,29 +31,6 @@ class BaseStream extends BaseFrameworkSystem {
        protected function __construct ($className) {
                // Call parent constructor
                parent::__construct($className);
-
-               // Clean up a little
-               $this->removeNumberFormaters();
-               $this->removeSystemArray();
-       }
-
-       /**
-        * Setter for RNG instance
-        *
-        * @param       $rngInstance    An RNG instance
-        * @return      void
-        */
-       protected final function setRngInstance (RandomNumberGenerator $rngInstance) {
-               $this->rngInstance = $rngInstance;
-       }
-
-       /**
-        * Getter for RNG instance
-        *
-        * @return      $rngInstance    An RNG instance
-        */
-       protected final function getRngInstance () {
-               return $this->rngInstance;
        }
 }