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.

thanks for the quick reply

you mean with no extending of types? just normal usage like you would use in blitz basic?


EDIT= hmm another idea

What If I created a character type

and then created extra types that contain the "AI"

like this

type character

end type


type warrior
method attack
end method
end type

type wizard
method attack
end method
end type


How could I get a 'character' to use the method attack depending on what kind of character he was?