libtcod-net
TCODRandom Class
NamespaceslibtcodWrapperTCODRandom
Produces random numbers from the Mersenne Twister
Declaration Syntax
C#
public class TCODRandom : IDisposable
Members
All MembersConstructorsMethods



IconMemberDescription
TCODRandom()()()
Create a new instance of a random number generator.

TCODRandom(UInt32)
Create new instance of a random number generator with a starting seed.

Dispose()()()
Destroy unmanaged random number generator

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetIntFromByteArray(Int32, Int32, String)
Deterministly obtain a random number based upon a string seed

GetRandomFloat(Double, Double)
Obtain a random floating point number in a given range

GetRandomFloat(Single, Single)
Obtain a random floating point number in a given range

GetRandomInt(Int32, Int32)
Obtain a random integer in a given range

GetType()()()
Gets the Type of the current instance.
(Inherited from Object.)
MemberwiseClone()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
ToString()()()
Returns a String that represents the current Object.
(Inherited from Object.)
Inheritance Hierarchy
Object
TCODRandom

Assembly: libtcodWrapper (Module: libtcodWrapper) Version: 0.2.0.0 (0.2.0.0)