src/entity/entity.js
function (body) {
            // update the entity bounds to match with the body bounds
            this.getBounds().resize(body.width, body.height);
            // update the bounds pos
            this.updateBoundsPos(this.pos.x, this.pos.y);
        }
function (body) {
            // update the entity bounds to match with the body bounds
            this.getBounds().resize(body.width, body.height);
            // update the bounds pos
            this.updateBoundsPos(this.pos.x, this.pos.y);
        }
function ( body ) { // update the entity bounds to match with the body bounds this . getBounds ( ) . resize ( body . width , body . height ) ; // update the bounds pos this . updateBoundsPos ( this . pos . x , this . pos . y ) ; }
update the bounds position when the body is modified
@private
@name onBodyUpdate
@memberOf me.Entity
@function
update the bounds position when the body is modified