I have a text file which is a game save for my java game (cookie clickers) so the stuff in the file will be numbers without spaces. Like so:
10 20 30 40 50 I need to read the lines and save each one to its string.
So the strings should be like this, so I can use them a lot easier:
lives = 10 kills = 20 score = 30 ... The saving code will be in its class file (Save.class). I only need the code, other stuff should not be a problem.
Is there some kind of easy way to make it work as I want?
List<String>?)Stringorint?