Code:
setGameState((int) configManager.getEntry("INGAME_STATE"));
I call the setGameState(integer) method in the constructor of the