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).
make a superclass gameElements and extend from it the other types.
then fill the list with gameElements elements (with cast operator).