Class

This is a function for creating classes.
This is done by creating a generic constructor which inherits from a super class.
The returned constructor/class can be used just like any other constructor in JavaScript.


class creation

A class can be easyly created by calling:
Class(className="anonymous", superClass=Object, classScope)
parameters: Example:

MyClass = Class("MyClass", function(thisClass, Super){
    thisClass.prototype.init = function(){
        //do initialization here
    }
})

object initialization

When a class is instanciated the constructor will call the object's
init(...) method. This method will not be called when a prototype of a class is created by the class's
createPrototype() method during inheritence.
All parameters passed to the constructor will be passed to the init method.
init basically acts as the constructor for the class.
To customize object initialization one only needs to specify an init method for the new object:
See above.

class methods

These are the methods each class object exposes.

class properties

These are the properties each class object exposes.

instance methods

These methods are exposed by objects created from the class.

instance properties