Initialized pseudo random generator.
This commit is contained in:
parent
6db55f5622
commit
d700564b37
@ -7,6 +7,8 @@ Application::Application() {
|
||||
|
||||
void Application::init()
|
||||
{
|
||||
// init random generator
|
||||
std::srand(std::time(NULL));
|
||||
// choose Level TODO: Choose this in a menu
|
||||
this->level = Level("1");
|
||||
// Don't change this!
|
||||
|
Loading…
Reference in New Issue
Block a user