Original Post
Hey everyone, So I've made some progress with my space strategy game. The core game engine is nearly complete. Most of it revolves around state management. One thing is bugging me, though -- how to handle the interface states, which I've used Swing for. I figure the user interface for a given game state should be wrapped up in one nice container, and then that container can be added to or set as the content pane for my full-screen window. The thing is, I'm not sure what the best way is to implement that behavior in the code. Should I put it in with the game state, or in the game state manager, or the graphics manager? Does it really matter where I put it? There doesn't seem to be an obvious solution (unless I've missed it somehow), so I'd like to know what others have done. Thanks, - Rob