nicolasgramlich / AndEngine

Free Android 2D OpenGL Game Engine
http://www.andengine.org
Apache License 2.0
3.18k stars 1.35k forks source link

Update Entity.java #253

Closed nodermann2 closed 6 years ago

nodermann2 commented 10 years ago

final int entityCount = entities.size(); // this way is not safe for concurrent threads

TODO need to check and other places, like next: final int entityCount = entities.size();