change extended type

BlitzMax Forums/BlitzMax Programming/change extended type

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.

You cant.

In a case like this, youd be better off making a single "player" type, and having sub "roles" instead.

Its almost the same as a "character type" as you call it, but at least you can extend the "roles" all you want.

edit: about the name part, you could use an abstract method returning a string, or even Reflection.