Struglling with Appstates

stateMgr.getState(MainMenuState.class).setEnabled(false);
…or…
stateMgr.detach(getState(MainMenuState.class))

Personally, I’m having trouble figuring out where your confusion is.

You can see how I use app states here:

Essentially, app states are a way to temporarily “extend” the application’s functionality. As such they are useful for lots of things… “screen management” is just one small thing.

1 Like