Hi, I'm a little bit of a crossroads and wondered if anyone couldgive me some advice. I need to store several lists of objects. Each list could contain a different number of objects and the number of lists I need to create and maintain will also fluctuate depending on the game state.
So basically I need a mechanism by which I can create and access a varying number of lists.
I wondered what the best way to do this is - can you have a lists of lists? Or an array of lists? Has anyone done this before and could give me the benefit of their experience? Thanks in advance.
So basically I need a mechanism by which I can create and access a varying number of lists.
I wondered what the best way to do this is - can you have a lists of lists? Or an array of lists? Has anyone done this before and could give me the benefit of their experience? Thanks in advance.