Random

From King Arthur's Gold Wiki
Revision as of 18:59, 22 August 2012 by Shadlington (Talk | contribs)

Jump to: navigation, search

Returns a pseudo-random int in the range 0 to the given max int.


This method has two variants. One of them also accepts a seed.

int Random(int max)
int Random(u32 seed, u32 max)