28#include <SFML/System/Randomizer.hpp>
36 unsigned int SetRandomSeed()
38 unsigned int Seed =
static_cast<unsigned int>(time(NULL));
50unsigned int Randomizer::ourSeed = SetRandomSeed();
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.
Vector2 is an utility class for manipulating 2 dimensional vectors.