I started using arraylists a few weeks ago for my game because it seemed like the thing to do
I love them! I am pretty acquainted with arraylists
Previously I’ve been using them to store entities in a room. I have a problem that I decided is best solved by an arraylist of integers
But this code errors:
private static ArrayList<int> occupiedRowList = new ArrayList<int>();
Looks good to me. What’s wrong with it?
Thanks