Interesting polymorphic problem.

BlitzMax Forums/BlitzMax Programming/Interesting polymorphic problem.

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.

IPete2: yes I could do that. In fact as soon as it didn't work I thought of several methods. My point was really why can't I call TSprite.Draw() when the object is a TPlayer. I know *why* it calls TPlayer.Draw() instead but I just wondered if there was a way to do what I wanted in that way, just for interest really.