Wiki

Clone wiki

RogueSharp / RogueSharp.Random / MinRandom / Next_1

MinRandomNext Method (Int32, Int32)

Gets the next integer in the series which will always be minValue

Namespace: RogueSharp.Random
Assembly:

Syntax

public int Next(
    int minValue,
    int maxValue
)

Parameters

minValue

Type: SystemInt32
Inclusive minimum result which is always returned in this case

maxValue

Type: SystemInt32
Inclusive maximum result which is never used in this case

Return Value

Type: Int32
Returns the integer minValue

Implements

IRandomNext(Int32, Int32)

See Also

Reference

MinRandom Class
RogueSharp.Random Namespace

[4]: 2014-2016 Faron Bracy

Updated