When to Extend?

BlitzMax Forums/BlitzMax Beginners Area/When to Extend?

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.

I have a baseunit type with common fields x,y etc.
There are 2 kinds of units which use exactly the same fields but will be use slightly different functions/methods and be in seperate lists.
Is it better to use extend for these units or to use a single type function with an 'If unittype=1' clause?
This might be obvious as I continue but I don't want to go down the wrong path early on.