OOP question.
BlitzMax Forums/BlitzMax Beginners Area/OOP question.
| ||
Do you always have to extend objects in a chain as in...type transform type entity extends transform type car extends entity or is there a way to... car extends entity and transform? The goal is that I my not want entity to extend transform on it's own. |
| ||
No, there's no multiple inheritance on BlitzMax. |
| ||
<beaten to it> |
| ||
No, there's no multiple inheritance on BlitzMax. No duck typing either, which is much superior to multiple inheritance. You can probably fake it well enough with reflection, if you're willing to take a potential performance hit. |