Visual3D Game EngineAPI Documentation for XNA, C#, VB, and .NET
If passed 0.7f it will return true 7 times out of 10

Namespace: Visual3D.Networking
Assembly: Visual3D.Networking (in Visual3D.Networking.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

      
 C#  Visual Basic 
public bool Chance(
	float percentChance
)
Public Function Chance ( _
	percentChance As Single _
) As Boolean

Parameters

percentChance
Single

Return Value

See Also