MiniQuake2

src/miniquake2/game/random.ml

Provides miniquake2 game random facilities for this project.

Package
miniquake2.game.random
Reachable
Yes

Declarations

create

function create(seed)

Creates create for the miniquake2 game random module.

ParameterTypeDefaultDescription
seeddynamic—seed value consumed by this operation.

View source

nextInteger

function nextInteger(state)

Return the next integer value.

ParameterTypeDefaultDescription
statedynamic—Mutable state inspected or updated by the operation.

View source

miniquake2.game.random.RandomState struct

signed

function signed(state)

Return the signed value.

ParameterTypeDefaultDescription
statedynamic—Mutable state inspected or updated by the operation.

View source

unit

function unit(state)

Return the unit value.

ParameterTypeDefaultDescription
statedynamic—Mutable state inspected or updated by the operation.

View source