Skip to main content

CCFastRandom

CCFastRandom

Cocos2D

Inheritance: System.Object

Constructors

CCFastRandom()

CCFastRandom()()

CCFastRandom(int)

CCFastRandom(int)(System.Int32 seed)
Parameters:
seed (System.Int32)

Methods

Next()

System.Int32 Next()()
Returns:
System.Int32

Next(int)

System.Int32 Next(int)(System.Int32 upperBound)
Parameters:
upperBound (System.Int32)
Returns:
System.Int32

Next(int, int)

System.Int32 Next(int, int)(System.Int32 lowerBound, System.Int32 upperBound)
Parameters:
lowerBound (System.Int32)
upperBound (System.Int32)
Returns:
System.Int32

NextBool()

System.Boolean NextBool()()
Returns:
System.Boolean

NextBytes(byte[])

NextBytes(byte[])(System.Byte[] buffer)
Parameters:
buffer (System.Byte[])

NextDouble()

System.Double NextDouble()()
Returns:
System.Double

NextInt()

System.Int32 NextInt()()
Returns:
System.Int32

NextUInt()

System.UInt32 NextUInt()()
Returns:
System.UInt32

Reinitialise(int)

Reinitialise(int)(System.Int32 seed)
Parameters:
seed (System.Int32)