deserialization

  1. F

    Question Copying an object changes its reference

    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...
Back
Top Bottom