Sound like you want to 'Extends' the class.
var TreeNode = new Class({
Extends: CompositeTreeNode,
...
...
...
});http://mootools.net/docs/core/Class/Class you can also look at http://mootools.net/docs/core/Core/Core#Type:extend
Sound like you want to 'Extends' the class.
var TreeNode = new Class({
Extends: CompositeTreeNode,
...
...
...
});http://mootools.net/docs/core/Class/Class you can also look at http://mootools.net/docs/core/Core/Core#Type:extend