1 Star 1 Fork 15

yanjunyi8/ChineseChess

forked from XMuli/ChineseChess 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
ChessStep.h 1.32 KB
一键复制 编辑 原始数据 按行查看 历史
/*
* Copyright (C) 2019~2024 偕臧 All rights reserved.
*
* Author: xmuli(偕臧) xmulitech@gmail.com
*
* GitHub: https://github.com/XMuli/ChineseChess
* Blogs: https://xmuli.tech
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/gpl-3.0.html>.
*/
#ifndef CHESSSTEP_H
#define CHESSSTEP_H
#include <QObject>
class ChessStep : public QObject
{
Q_OBJECT
public:
explicit ChessStep(QObject *parent = 0);
~ChessStep();
int m_nMoveID; // 移动棋子ID
int m_nKillID; // 将要被击杀的棋子ID
int m_nRowFrom; // 原位置的行
int m_nColFrom; // 原位置的列
int m_nRowTo; // 目的位置的行
int m_nnColTo; // 目的位置的列
};
#endif // CHESSSTEP_H
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/yanjunyi8/ChineseChess.git
git@gitee.com:yanjunyi8/ChineseChess.git
yanjunyi8
ChineseChess
ChineseChess
master

搜索帮助