lib/shape/BoxShape.js
function BoxShape(hx, hy, center, angle) {
  if (!(this instanceof BoxShape)) {
    return new BoxShape(hx, hy, center, angle);
  }

  BoxShape._super.call(this);

  this._setAsBox(hx, hy, center, angle);
}
function BoxShape(hx, hy, center, angle) {
  if (!(this instanceof BoxShape)) {
    return new BoxShape(hx, hy, center, angle);
  }

  BoxShape._super.call(this);

  this._setAsBox(hx, hy, center, angle);
}
function BoxShape ( hx , hy , center , angle ) { if ( ! ( this instanceof BoxShape ) ) { return new BoxShape ( hx , hy , center , angle ) ; } BoxShape . _super . call ( this ) ; this . _setAsBox ( hx , hy , center , angle ) ; }
A rectangle polygon which extend PolygonShape.
A rectangle polygon which extend PolygonShape .