array of game elements

BlitzMax Forums/BlitzMax Programming/array of game elements

you can use subclasses.

make a superclass gameElements and extend from it the other types.
then fill the list with gameElements elements (with cast operator).