Hi All,
In my games I normally have different lists for different types.
For example in my latest game I have got a type of building and a type of person with lists of buildings and people:
Now what I want to know is: Is this the best way?
I know you can one list which contains different types: Is this better?
Cheers
In my games I normally have different lists for different types.
For example in my latest game I have got a type of building and a type of person with lists of buildings and people:
Type TBuildings Extends TList Type TBuilding Extends TSprite Type TPeople Extends TList Type TPerson Extends TSprite
Now what I want to know is: Is this the best way?
I know you can one list which contains different types: Is this better?
Cheers