I'm using an "object factory/pool" to store sprites. I have it set up so that:
ASprite tmp = spritePool.GetObject();
tmp.state = 133;
Will make a new object for tmp, then set its state to 133. All the objects in the pool are stored in an array.
Now, I want to populate that pool by...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.