I’m using a List of platforms. I need to do something like platforms.get(i).X
I found something like that, it’s called elementAt, but it only allows you to do platforms.elementAt(i).draw(). How do I check the variables of a specific object in the list?
I’m using a List of platforms. I need to do something like platforms.get(i).X I
Share
You can access list elements with array index notation.