I'm getting an error that says:
unreported exception java.io.IOException; must be caught or declared to be thrown
GameManager.ShopOrBattle();
^
What do I do?
I have the method like this:
public void ShopOrBattle() throws IOException
I don't know where to put that "throws IOException" thing.
Edit: I'm having error after error and I don't know how to debug it, so I'm going to upload the files and if anyone feels that they are so inclined, please look at the code and help me out and teach me what I need to do. (possibly with comments)
I have part of the attachments on this post and the rest on the previous one.