void Game::startGameLoop()
{
    TDS_PROFILER_INITIALIZE();
    initGameLoop();
    
    auto lastUpdate = std::chrono::high_resolution_clock::now();
    while(m_continueGame)
    {
        TDS_PROFILER_FRAME();
        //gets the elapsed amount of seconds since the start of the last update
        auto now = std::chrono::high_resolution_clock::now();
        std::chrono::duration<float> timeDiff = now - lastUpdate;
        lastUpdate = now;

        trySwitchScene();
        tryCleanScene();
        updateModules(timeDiff.count());
    }
}