
/********************************************
 *
 * Inheritance
 *
 ********************************************/
Inheritance = function(){}

Inheritance.inheritsFrom = function(subClass, baseClass)
{
    function inheritance() {}
    inheritance.prototype = baseClass.prototype;
    subClass.prototype = new inheritance();
    subClass.prototype.constructor = subClass;
    subClass.baseConstructor = baseClass;
    subClass.base = baseClass.prototype;
}

