Using shared collections java, such as ArrayList, will not break your code and will work from a functional point of view. However, as a rule, when developing games you should also consider performance, as wasteful programming will affect your gaming experience. libgdxthey developed their own collections precisely for this reason: to make collections better, performance was reasonable. In general, collections are better libgdxthan standard ones java. Take a look at the docs for more information.
source
share