Piezas.cpp
/**
 * Returns what piece is at the provided coordinates, or Blank if there
 * are no pieces there, or Invalid if the coordinates are out of bounds
 **/
Returns what piece is at the provided coordinates, or Blank if there
are no pieces there, or Invalid if the coordinates are out of bounds
Returns what piece is at the provided coordinates or Blank if there are no pieces there or Invalid if the coordinates are out of bounds
Piece Piezas::pieceAt(int row, int column)
{
	if( row <0 || row >2 || column <0 || column >3)
		return Invalid;
	else
		return board[row][column];
}
Piece Piezas :: pieceAt ( int row , int column ) { if ( row < 0 || row > 2 || column < 0 || column > 3 ) return Invalid ; else return board [ row ] [ column ] ; }
Returns what piece is at the provided coordinates, or Blank if there
 are no pieces there, or Invalid if the coordinates are out of bounds
Returns what piece is at the provided coordinates or Blank if there are no pieces there or Invalid if the coordinates are out of bounds