Keyword(s) to search:
Sort results by title
Keyword Index
Rng
.
.
::
.
.
RandomLessThan Method
Returns a random number greater or equal to zero and less than max
Namespace:
AngbandOS.Core
Assembly:
AngbandOS.Core
(in AngbandOS.Core.dll)
Syntax
C#
public
int
RandomLessThan
(
int
max
)
Parameters
max
Type:
Int32
The upper limit (exclusive)
Return Value
A random number
See Also
Rng Class
AngbandOS.Core Namespace