plee for Properties, Private Fields

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

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.