chess.cpp

来自「支持局域网对战的飞行棋」· C++ 代码 · 共 39 行

CPP
39
字号
// Chess.cpp: implementation of the Chess class.
//
//////////////////////////////////////////////////////////////////////

#include "stdafx.h"
#include "program.h"
#include "Chess.h"

#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////

Chess::Chess()
{
	state=0;
	step=0;
	Color=0;
}

Chess::~Chess()
{

}

Chess::Chess(Chess &t)
{
	this->Color=t.Color;
	this->dou=t.dou;
	this->image=t.image;
	this->state=t.state;
	this->step=t.step;
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?