• Advertisement
Sign in to follow this  

Resetting States in Slick2D

This topic is 2007 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Whenever I go back to the Main Menu then back in to the game the state does not reset
What can i do to fix this?
Thanks

Share this post


Link to post
Share on other sites
Advertisement
If I remember correctly, the enter method is called whenever you transition into the state. So make sure you are overriding that method, and reset any variables to the default state.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement