MCPcopy Create free account
hub / github.com/XMuli/ChineseChess / isDead

Method isDead

ChessBoard.cpp:90–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88}
89
90bool ChessBoard::isDead(int id)
91{
92 if(id == -1)
93 return true;
94
95 return m_ChessPieces[id].m_bDead;
96}
97
98int ChessBoard::getStoneId(int row, int col)
99{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected