shaolei.h

来自「一个挖雷的小程序」· C头文件 代码 · 共 26 行

H
26
字号
class ShaoLei
{
	int **MapCost;
	int **LeiCost;
	int **CountCost;
	int End;
public:	
	ShaoLei(){InitMap();}
	~ShaoLei();
	static int count;
	void InitMap();
	int Map(int i,int j){return MapCost[i][j];}
	void SetMap(int i,int j,int e);
	int GetMap(int i,int j){return MapCost[i][j];}
	void SetLei(int i,int j,int e)
	{
		LeiCost[i][j]=e;
	}
	int GetLei(int i,int j){return LeiCost[i][j];}
	int GetCount(int i,int j){return CountCost[i][j];}
	void SetEnd(int i){End=i;}
	int GetEnd(){return End;}
};

class OK{};

⌨️ 快捷键说明

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