Beispiel #1
0
 public static void SetSeed(int seed)
 {
     instance = New(seed);
 }
Beispiel #2
0
        /**
         *  @brief Generates a new instance based on a given seed.
         **/
        public static TSRandom New(int seed)
        {
            TSRandom r = new TSRandom(seed);

            return(r);
        }
Beispiel #3
0
 internal static void Init()
 {
     instance = New(1);
 }