examples/platformer/js/entities/controls.js
function (renderer) {
        // call the super constructor
        this._super(me.GUI_Object, "draw", [ renderer ]);
        this.pad.pos.setV(this.pos).add(this.relative).add(this.joypad_offset);
        this.pad.draw(renderer);
    }
function (renderer) {
        // call the super constructor
        this._super(me.GUI_Object, "draw", [ renderer ]);
        this.pad.pos.setV(this.pos).add(this.relative).add(this.joypad_offset);
        this.pad.draw(renderer);
    }
function ( renderer ) { // call the super constructor this . _super ( me . GUI_Object , "draw" , [ renderer ] ) ; this . pad . pos . setV ( this . pos ) . add ( this . relative ) . add ( this . joypad_offset ) ; this . pad . draw ( renderer ) ; }
extend the draw function
extend the draw function