This is going to be resolved in an upcoming fix I'm planning to redesign how the panels are laid out. I'm going to change GameScreen to have a LEFT and RIGHT panel which will act as "button" groups to control which single panel is shown there, or null for hide all panels. You can actually see in GameScreen that I've already added the fields, but I haven't implemented them. So, if you set RIGHT to inventory it will automatically hide anything there and unhide the inventory panel. It's my hope that during this I can also try and eliminate having soo many public fields to GameScreen members. There are too many public fields in most of the in-game related code because I haven't figured out a proper flow yet.
This is going to be resolved in an upcoming fix I'm planning to redesign how the panels are laid out. I'm going to change
GameScreen
to have aLEFT
andRIGHT
panel which will act as "button" groups to control which single panel is shown there, ornull
for hide all panels. You can actually see inGameScreen
that I've already added the fields, but I haven't implemented them. So, if you setRIGHT
to inventory it will automatically hide anything there and unhide the inventory panel. It's my hope that during this I can also try and eliminate having soo many public fields toGameScreen
members. There are too many public fields in most of the in-game related code because I haven't figured out a proper flow yet.