25#ifndef SFML_RANDOMIZER_HPP
26#define SFML_RANDOMIZER_HPP
31#include <SFML/Config.hpp>
51 static void SetSeed(
unsigned int Seed);
70 static float Random(
float Begin,
float End);
81 static int Random(
int Begin,
int End);
88 static unsigned int ourSeed;
Randomizer is an utility class for generating pseudo-random numbers.
static unsigned int GetSeed()
Get the seed used to generate random numbers the generator.
static void SetSeed(unsigned int Seed)
Set the seed for the generator.
static float Random(float Begin, float End)
Get a random float number in a given range.