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

Method getColText

ChessPieces.cpp:115–127  ·  view source on GitHub ↗

* @brief 获取棋子所在列 返回文本棋谱 * @return QString */

Source from the content-addressed store, hash-verified

113 * @return QString
114 */
115QString ChessPieces::getColText(int col)
116{
117 QString colText;
118 if(m_bRed)
119 {
120 colText= colTextRed[col];
121 }
122 else
123 {
124 colText= colTextBlack[col];
125 }
126 return colText;
127}
128
129/**
130 * @brief 获取棋子所在行 返回文本棋谱

Callers 1

textStepMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected