开发者

AndEngine disable pool

开发者 https://www.devze.com 2023-04-04 08:44 出处:网络
Good day, i have an application build with andEngine, There is no such big amount of objects to use pool of objects, but as i found AndEngine put the Sprite to the pool by default.

Good day,

i have an application build with andEngine, There is no such big amount of objects to use pool of objects, but as i found AndEngine put the Sprite to the pool by default.

Every ~0.6 seconds by default thi开发者_JAVA技巧s function

    @Override
    public void onUpdate(final float pSecondsElapsed)

from PoolUpdateHanlder.class is called.

Using pool takes time and memory (after some time application become too large) and i want to disable it. Is it any way to do it?


Are you creating a PoolUpdateHandler yourself?

Btw, you know there are the AndEngine forums?

0

精彩评论

暂无评论...
验证码 换一张
取 消