text: var Shape = require('../shape');
  var Piece = require('../piece');
  
  function jShape(board) {
  
    this.pieces = {
      1: new Piece(board,4,0, "blue"),
      2: new Piece(board,4,1, "blue"),
      3: new Piece(board,5,1, "blue"),
      4: new Piece(board,6,1, "blue") 
    };
  
    // Defaults to the first set of offset rotations
    this.offsetGroup = 1;
  
    this.rotationOffsets = {
      1: {
        1: [0, 2],
        2: [1, 1],
        3: [0, 0],
        4: [-1, -1]
      },
      2: {
        1: [2, -1],
        2: [1, -2],
        3: [0, -1],
        4: [-1, 0]
      },
      3: {
        1: [0, -1],
        2: [-1, 0],
        3: [0, 1],
        4: [1, 2]
      },
      4: {
        1: [-2, 0],
        2: [-1, 1],
        3: [0, 0],
        4: [1, -1]
      }
    };
  
  }
  
  jShape.prototype = Object.create(Shape.prototype);
  
  module.exports = jShape;
  