Moved the clock check outside of the event loop
It caused the game to update only if events were received (Mouse movement, button press, etc)
This commit is contained in:
parent
81364c7b4c
commit
d53f8b32e9
3 changed files with 7 additions and 7 deletions
|
@ -7,7 +7,7 @@
|
|||
|
||||
#include "Game.h"
|
||||
|
||||
TEST(Setup,LevelSetup)
|
||||
TEST(Setup,GameSetup)
|
||||
{
|
||||
// TODO : Think about parsing from file ? Currently cumbersome and error-prone
|
||||
std::vector<std::string> textures = {"Head_Boy.png","Head_Significant_Boy.png","Building.png"};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue