Binding of Isaac - Afterbirth+ Lua Reference/Guide
RNG Class Reference

Public Member Functions

 RNG (void)
 
integer GetSeed ()
 
 SetSeed (integer Seed, integer ShiftIdx)
 
integer RandomInt (integer Max)
 
float RandomFloat ()
 
integer Next ()
 

Constructor & Destructor Documentation

◆ RNG()

RNG::RNG ( void  )

Member Function Documentation

◆ GetSeed()

integer RNG::GetSeed ( )

◆ Next()

integer RNG::Next ( )

◆ RandomFloat()

float RNG::RandomFloat ( )

◆ RandomInt()

integer RNG::RandomInt ( integer  Max)

◆ SetSeed()

RNG::SetSeed ( integer  Seed,
integer  ShiftIdx 
)