code: function(x, y) {
          var i = 0,
              p = this.points,
              l = p.length;
          for (; i < l; i += 2) {
              p[i] += x;
              p[i + 1] += y;
          }
      }
docs: @
  #.shift
  @comp Crafty.polygon
  @kind Method
  
  @sign public void .shift(Number x, Number y)
  @param x - Amount to shift the `x` axis
  @param y - Amount to shift the `y` axis
  
  Shifts every single point in the polygon by the specified amount.
  
  @example
  ~~~
  var poly = new Crafty.polygon([50, 0, 100, 100, 0, 100]);
  poly.shift(5,5);
  //[[55, 5, 105, 5, 5, 105];
  ~~~