OOP help

BlitzMax Forums/BlitzMax Beginners Area/OOP help

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.

Ok, it's ok, but, the methods/functions should probably renamed to update, draw, and init. This is what makes OOP actually useful syntactically. Keep in mind that it doesn't matter if methods have the same names as methods in other types. In fact it is encouraged if you can manage to extend a base class with methods used by all the child classes, allowing you to refer to any child class as a base class.