⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 managers.h

📁 画面好看的象棋界面设计。类似于QQ游戏。很不错!
💻 H
字号:
// Managers.h: interface for the Managers class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_MANAGERS_H__4BDB2F9E_3FF3_4117_9D88_D88F7F971525__INCLUDED_)
#define AFX_MANAGERS_H__4BDB2F9E_3FF3_4117_9D88_D88F7F971525__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "Chess.h"
#include "NetControl.h"
class Managers  
{
public:
	void GameStart();
	bool DoMsg(int x,int y,int action);
	//the king, the military counselor, the horse, the elephant, the chariot and the pawn
	//
	int Game_State;
	bool PAUSE;
	Chess LastCh;
	Chess *LossCh;
	Chess *PointCh;
	Chess nChessinfo[32];//记录32个棋子的信息
	int map[9][10];//记录棋盘上的信息,
	int PlayerAc;
	Managers();
	virtual ~Managers();
	bool Game_Type;
	friend class NetControl;
protected:
	void Updata();
	bool Moveto(int x,int y,bool isgo);
	Chess * Search(int x,int y);
};

#endif // !defined(AFX_MANAGERS_H__4BDB2F9E_3FF3_4117_9D88_D88F7F971525__INCLUDED_)

⌨️ 快捷键说明

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