public bool MakeMoveTo(BoardCoord destination) { if (chessGame.AssertContainsCoord(destination)) { SetBoardPosition(destination); gameObject.transform.position = destination; MoveCount++; return(true); } return(false); }
public bool MakeMoveTo(BoardCoord destination) { if (chessGame.AssertContainsCoord(destination)) { SetBoardPosition(destination); gameObject.transform.position = destination; MoveCount++; return(true); } return(false); }