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:
+2
-1
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user