public Controller() { _board = new ChessBoard(); _startLoc = new Location(); _endLoc = new Location(); _turn = 1; _selectedSquare = null; _promotion = 0; }
public Controller() { _board = new ChessBoard(); _startLoc = new Location(); _endLoc = new Location(); }
public void ResetGame() { _board = new ChessBoard(); g.Children.Clear(); inCheck = false; CreateBoard(g, l, l2); _startLoc = new Location(); _endLoc = new Location(); ChangeTurn(); _startSquare = null; _selectedSquare = null; }
public Utility() { _board = new ChessBoard(); startMove = new int[2]; endMove = new int[2]; }