public bool[,] rightRot()
        {
            piece.rotateRight();
            pieceArray = piece.getPieceArray();

            return(pieceArray);
        }
 public Sprite2(int locx, int locy, int width, PuzzlePiece aPiece)
 {
     locX       = locx;
     locY       = locy;
     locXa      = new int[5];
     locYa      = new int[5];
     piece      = aPiece;
     selected   = false;
     isMovable  = true;
     init       = true;
     this.ID    = aPiece.getPieceType();
     this.width = width;
     pieceArray = piece.getPieceArray();
     circle     = new Rectangle(locX, locY, width, width);
     dragging   = false;
 }
 public void setPiece(PuzzlePiece piecee)
 {
     piece      = piecee;
     pieceArray = piece.getPieceArray();
 }