plee for Properties, Private Fields

BlitzMax Forums/BlitzMax Programming/plee for Properties, Private Fields

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.

Yes.

An interface is like a 'clean' version of multiple inheritance.

You implement interfaces, and then you can request objects that implement a specific interface. E.g., IRenderable, IStreamable, IContainer, IDisposable, ICloneable, etc.

If you wanted to clone something you would implement the ICloneable class, if you wanted forced disposal of resources you would implement IDisposeable, if you wanted container functionality in an object you would implement the IContainer interface, and so on and so forth.

So yes, it's different.