更好的输入函数。
This commit is contained in:
@@ -36,6 +36,11 @@ ChessBoard::ChessBoard() {
|
||||
this->size = 15;
|
||||
}
|
||||
|
||||
ChessBoard::ChessBoard(int boardSize) {
|
||||
this->chessCount = 0;
|
||||
this->size = boardSize;
|
||||
}
|
||||
|
||||
ChessBoard::~ChessBoard() {
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user