get player out of main. player is now a singelton?(not sure of singleton is good inplemented). Added player singleton in worldstate

This commit is contained in:
Remco
2016-05-19 11:27:32 +02:00
parent 876ec56780
commit a38a6d3c5f
9 changed files with 117 additions and 46 deletions
+2 -1
View File
@@ -8,7 +8,8 @@ StateHandler::StateHandler()
StateList.push_back(new SettingsState()); //SETTINGS_STATE
StateList.push_back(new WorldState()); //WORLD_STATE
CurrentState = INIT_STATE;
//CurrentState = INIT_STATE;
CurrentState = WORLD_STATE;
}