/**
 * inheritance
 * 
 * @author Kevin Lindsey
 * @version 1.0
 * 
 * copyright 2006, Kevin Lindsey
 * 
 */

// namespace placeholder
KevLinDev = {};

/**
 * A function used to extend one class with another
 * 
 * @param {Object} subClass
 *      The inheriting class, or subclass
 * @param {Object} baseClass
 *      The class from which to inherit
 */
KevLinDev.extend = function(subClass, baseClass) {
   function inheritance() {}
   inheritance.prototype = baseClass.prototype;

   subClass.prototype = new inheritance();
   subClass.prototype.constructor = subClass;
   subClass.baseConstructor = baseClass;
   subClass.superClass = baseClass.prototype;
}
