自定义了Engine类派生于cc.Class,如何使用scheduler?

/**
 *Engine
 * @extend cc.Class
 *
 */
var Engine = cc.Class.extend({
    ctor: function () {
        this.init();
    },

    init: function () {
        var _t = this;
        _t._scheduler = cc.director.getScheduler();
        _t._brunning = false;
    },

    update: function (dt) {
        console.log("asdfadsfads");
    },

    start: function () {
        if(this._brunning == false){
            this._scheduler.scheduleUpdate(this,0,!this._brunning);
            this._brunning = true;
        }
    },

    stop: function () {

    }
});


var engine = new Engine();

engine.start();

如题,自定义了引擎类,派生于cc.Class,如何使用scheduler?好久没玩cocos2dx了,把以前Lua实现的一套框架转移到js中,发现这样做Update函数没有调用,求大拿指点,看了半天cc.Node的实现,他直接this.scheduler,并没有发现赋值啊~~~~

晕参数搞错了,this._scheduler.scheduleUpdate(this,0,!this._brunning);应该是
this._scheduler.scheduleUpdate(this,0,this._brunning);

又碰到了,在web中scheduleUpdate可以使用,但是在原生平台中这个function未定义啊!!!,请问如何给自定义类加上帧事件在js原生平台中?