MCPcopy Create free account
hub / github.com/SimHacker/micropolis / seedRandom

Method seedRandom

MicropolisCore/src/MicropolisEngine/src/random.cpp:171–174  ·  view source on GitHub ↗

* Set seed of the random number generator. * @param seed New seed. */

Source from the content-addressed store, hash-verified

169 * @param seed New seed.
170 */
171void Micropolis::seedRandom(int seed)
172{
173 nextRandom = seed;
174}
175
176
177////////////////////////////////////////////////////////////////////////

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected