Object Drawing Priority on overlap? example reques

BlitzMax Forums/BlitzMax Beginners Area/Object Drawing Priority on overlap? example reques

Tonyg might be doing it the wrong way round by adding the object to the start of the list, but the principle is the same


Just showing what was asked :
I'm trying to remove the last object and put it in first place..


@Apollonius, 'Last' is a TList method. A method is like a function but works against a particular instance of a type(in this case Mylist).
However, the method returns a base Object and not, in my case, a TTest object. Using :
Local switchtemp:ttest = ttest(mylist.last() )

says :
'Return the last object on the list and convert it into a TTest object'.
This conversion step is called 'Casting' and there has been lots of discussion about it.