更好的输入函数。

This commit is contained in:
unlockable
2023-03-01 18:58:38 +08:00
parent 6070fbfd57
commit ea34250e91
3 changed files with 62 additions and 27 deletions

View File

@@ -36,6 +36,11 @@ ChessBoard::ChessBoard() {
this->size = 15;
}
ChessBoard::ChessBoard(int boardSize) {
this->chessCount = 0;
this->size = boardSize;
}
ChessBoard::~ChessBoard() {
}