Merge pull request #14 from marsj725/pawns

Made som changes to isMoveLegal in ROOKS, BISHOP and PAWN
Changed the setPosition method to take a
Piece as argument instead.
Okay it may look confusing but I had a lot of problems and a lot of changes had to be done. Now the board from engine actually is rendered
when engine runs the updateBoard function. I initialize the player and the Engine in MainWindow which I'm not sure is right but it works
for now. The Engine only has one player at the moment, and the Mediator isn't used (at least not yet), since it meant a lot of trouble.
Merge pull request #15 from samni698/updateBoard

I will take a look at the initialiation of the player ... but the code seems fine :)
Har implementerat performDraw i Engine,
vilket också innebar att jag skapade
funktionen movePiece i Board.
Implemented the makeDraw function
in BoardGUI. You can't actually
make a move from the gui yet but
there is a test move in
MainWindow (Since we haven't
implemented anything that
prevents a piece to jump over
other pieces that move is
allowed).
You will like this. Now it is actually possible to move the pieces using the GUI.
Merge pull request #16 from samni698/makeDraw

Make draw
Fixed the index bug in Pawn.
Fixed so that isMoveLegal
in pawn works for all
cases. Added an input
parameter board to the
function so that it can
check for opponents and so
on.
Has changed so that Bishop, Rook and queen can't jump over other pieces.
Converted everything into using the mediator instead of direct calls
Merge branch 'master' of github.com:marsj725/TDDD49 into isMoveLegal

Conflicts:
	Engine/Bishop.cs
	Engine/King.cs
	Engine/Knight.cs
	Engine/None.cs
	Engine/Pawn.cs
	Engine/Queen.cs
	Engine/Rook.cs
Merge pull request #17 from samni698/isMoveLegal

Fixed isMoveLegal functions