creator里面怎么扩展类呢?

以前用cocos2dx-js的时候扩展类很简单比如要扩展Class 我只需要新建一个ClassExt.js的文件 然后在里面cc.Class.prototype.sendEvent = function(){ /* … */ } ; 就像这么做就可以了 现在的Creator怎么实现有哪位知道吗?