Wiki

Clone wiki

RogueSharp / RogueSharp.Random / IRandom / Next

IRandomNext Method (Int32)

Gets the next pseudo-random integer between 0 and the specified maxValue inclusive

Namespace: RogueSharp.Random
Assembly:

Syntax

int Next(
    int maxValue
)

Parameters

maxValue

Type: SystemInt32
Inclusive maximum result

Return Value

Type: Int32
Returns a pseudo-random integer between 0 and the specified maxValue inclusive

See Also

Reference

IRandom Interface
RogueSharp.Random Namespace

[3]: 2014-2016 Faron Bracy

Updated