NextBool Method

Lidgren.Network

Collapse imageExpand ImageCopy imageCopyHover image
Generates a single random bit. This method's performance is improved by generating 32 bits in one operation and storing them ready for future calls.

Namespace: Lidgren.Network
Assembly: Lidgren.Network (in Lidgren.Network.dll) Version: 2012.1.7.0 (2012.1.7.0)

Syntax

C#
public bool NextBool()
Visual Basic
Public Function NextBool As Boolean
Visual C++
public:
bool NextBool()

Return Value

[Missing <returns> documentation for "M:Lidgren.Network.NetRandom.NextBool"]

See Also