I am making and there I am making a frequent use of Java's ArrayList (forjava.util.ArrayList for enemies, coins, and bullets), but I'm wondering ifshots. Is there are any other utility in libgdx better containers or utilities for doingthan this. I'm processing from the elements inPerformance point of view.
Further, I can get my things done using a forfor loop too.So, but I could alsoWhich would be better to use.
A FOR LOOP
or an iterator; how should I go about deciding which is better for my game from a performance perspective?ITERATOR