Skip to content
Advertisement

Tag: save

Saving an ArrayList<ArrayList> to File

I am able to save an ArrayList to a file without any problems, but when I try to write and read an ArrayList<ArrayList<Integer>> to file it nulls out the values. I cannot find an example of this format working, or any subject matter as to why it wouldn’t work. Does anyone have any insight into why this might happen, or

Why is my saved file not being used in game when I run it?

I am currently developing a simple 2D game that is like Minecraft in Eclipse Java. One of the features I am currently trying to debug is saving a generated 2D noise map into a source folder separate from the root folder called resources and then using that same file that was saved to generate the map that will be displayed

Advertisement