Initialized pseudo random generator.
This commit is contained in:
parent
8a40b1705f
commit
9497e99b58
@ -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