Hi again, thanks for all your input, I thought I should try to explain what im trying to do with the collection so you can suggest if im going about it in a sensible manner
If you have a look at
www.retrosoft.co.uk and go on the menu to fun->project water
I want to use a Vector so that when the water flows to the bottom of the screen it can be removed from the collection, ie the collection is going to be changing dynamically all the time (it doesn’t do this yet)
Also the collection elements are a class that holds the position of the element and holds its methods for updating its state. Would it be more sensible to have an updater class?
The reason I have it this way is so I only have to run through the loop once to update and draw.