FastRandom

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

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Returns a seemingly-random (much less random than Random, though it is faster) int in the range 0 to the given max int.

int FastRandom(int max, int seed)