Initialized pseudo random generator.

This commit is contained in:
Fabian Klemp 2014-12-16 12:17:30 +01:00
parent 8a40b1705f
commit 9497e99b58

View File

@ -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!