NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
nw4r::ef::Random Class Reference

Description

Definition at line 8 of file ef_random.h.

Public Member Functions

void Srand (ulong seed)
 
int Rand ()
 
f32 RandFloat ()
 

Private Member Functions

void MixRandomSeed ()
 

Private Attributes

ulong mSeed
 

Member Function Documentation

◆ Srand()

void nw4r::ef::Random::Srand ( ulong seed)
inline

Definition at line 13 of file ef_random.h.

◆ Rand()

int nw4r::ef::Random::Rand ( )
inline

Definition at line 17 of file ef_random.h.

◆ RandFloat()

f32 nw4r::ef::Random::RandFloat ( )
inline

Definition at line 22 of file ef_random.h.

◆ MixRandomSeed()

void nw4r::ef::Random::MixRandomSeed ( )
inlineprivate

Definition at line 28 of file ef_random.h.

Member Data Documentation

◆ mSeed

ulong nw4r::ef::Random::mSeed
private

Definition at line 10 of file ef_random.h.