put the list in the type

BlitzMax Forums/BlitzMax Beginners Area/put the list in the type

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

You wouldn't do that.

Breaks any clean OO design rule.

If you have a functionality that needs to iterate through that list, implement it within the type and call that function that iterates through it and does a special thing.

Examples for that are Update, Draw, CheckCollision