Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/XMuli/ChineseChess
/ POS
Class
POS
ChessPieces.cpp:9–14 ·
view source on GitHub ↗
1、定义结构体tPOS
Source
from the content-addressed store, hash-verified
7
8
//1、定义结构体tPOS
9
struct POS
10
{
11
int t_nRow;
12
int t_nCol;
13
ChessPieces::m_emTYPE t_emType;
14
};
15
16
//定义基础的16棋子[预定作为上方使用,黑棋使用]
17
POS tPos[16]= {
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected