| 72 | } |
| 73 | |
| 74 | void ChessBoard:: moveStone(int moveid, int row, int col) |
| 75 | { |
| 76 | m_ChessPieces[moveid].m_nRow= row; |
| 77 | m_ChessPieces[moveid].m_nCol= col; |
| 78 | |
| 79 | m_bIsRed= !m_bIsRed; //换边 |
| 80 | } |
| 81 | |
| 82 | bool ChessBoard::sameColor(int moveId,int killId) |
| 83 | { |
nothing calls this directly
no outgoing calls
no test coverage detected