| 77 | } |
| 78 | |
| 79 | void MachineGame::fakeMove(ChessStep *step) |
| 80 | { |
| 81 | if (step->m_nKillID != -1) |
| 82 | m_ChessPieces[step->m_nKillID].m_bDead = true; |
| 83 | |
| 84 | m_ChessPieces[step->m_nMoveID].m_nRow = step->m_nRowTo; |
| 85 | m_ChessPieces[step->m_nMoveID].m_nCol = step->m_nnColTo; |
| 86 | m_bIsRed = !m_bIsRed; |
| 87 | } |
| 88 | |
| 89 | void MachineGame::unFakeMove(ChessStep *step) |
| 90 | { |
nothing calls this directly
no outgoing calls
no test coverage detected