private void initialize() { System.Diagnostics.Debug.WriteLine("Initializing"); chessPieces = new Dictionary <string, ChessPiece>(); // Initialize all ChessPieces for ech player // White team initializePlayerPieces(ChessPiece.Color.WHITE); // Black team initializePlayerPieces(ChessPiece.Color.BLACK); mBoard = new ChessBoard(content); mSelector = new PieceSelector(); setPieceMoves(); }
private void initialize() { System.Diagnostics.Debug.WriteLine("Initializing"); chessPieces = new Dictionary<string, ChessPiece>(); // Initialize all ChessPieces for ech player // White team initializePlayerPieces(ChessPiece.Color.WHITE); // Black team initializePlayerPieces(ChessPiece.Color.BLACK); mBoard = new ChessBoard(content); mSelector = new PieceSelector(); setPieceMoves(); }