How to restart screen in LibGDX using Init() methods?
问题 I created a simple game in LibGDX that has multiple screens. I want to restart a certain screen after touching a restart button but I'm not sure how to do that. I made some research about this and all answers lead to not loading my assets in show() but rather in an init() method that I am not really familiar with. I want to know how can I restart a screen using this init() method . As of now I put most of my initialization in the constructor and some were initialized in methods such as the