dist/melonjs.js
function updateBoundsPos(x, y) {
         if (typeof this.body !== "undefined") {
           var _pos = this.body.pos;

           this._super(me.Renderable, "updateBoundsPos", [x + _pos.x, y + _pos.y]);
         } else {
           this._super(me.Renderable, "updateBoundsPos", [x, y]);
         }

         return this.getBounds();
       }
function updateBoundsPos(x, y) {
         if (typeof this.body !== "undefined") {
           var _pos = this.body.pos;

           this._super(me.Renderable, "updateBoundsPos", [x + _pos.x, y + _pos.y]);
         } else {
           this._super(me.Renderable, "updateBoundsPos", [x, y]);
         }

         return this.getBounds();
       }
function updateBoundsPos ( x , y ) { if ( typeof this . body !== "undefined" ) { var _pos = this . body . pos ; this . _super ( me . Renderable , "updateBoundsPos" , [ x + _pos . x , y + _pos . y ] ) ; } else { this . _super ( me . Renderable , "updateBoundsPos" , [ x , y ] ) ; } return this . getBounds ( ) ; }
update the bounds position when the position is modified
@private
@name updateBoundsPos
@memberOf me.Entity
@function
update the bounds position when the position is modified