Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/XMuli/ChineseChess
/ killStone
Method
killStone
ChessBoard.cpp:60–65 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
58
59
60
void ChessBoard:: killStone(int id)
61
{
62
if(id== -1)
63
return;
64
m_ChessPieces[id].m_bDead= true;
65
}
66
67
void ChessBoard:: reliveStone(int id)
68
{
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected