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

📄 mythread.h

📁 一个用vc编写的俄罗斯方块和贪吃蛇游戏的源代码
💻 H
字号:
// MyThread.h: interface for the CMyThread class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_MYTHREAD_H__DE851F1C_51FC_4B64_A98C_7E8C9C4A3A55__INCLUDED_)
#define AFX_MYTHREAD_H__DE851F1C_51FC_4B64_A98C_7E8C9C4A3A55__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "elsgame.h"

typedef struct  MoveType{
	int min[3];
	int xoff[3];
	int xyz[3];
	int basex;
	BOOL bFind;
}Move;

class CMyThread  
{
public:
	CMyThread();
	virtual ~CMyThread();
public:
	static 	UINT AutoRun(LPVOID pParam );
	static void AutoMove(CElsGame * pGame);

protected:
	static Move GetMove(CEls* pEls, const int[]);

};

#endif // !defined(AFX_MYTHREAD_H__DE851F1C_51FC_4B64_A98C_7E8C9C4A3A55__INCLUDED_)

⌨️ 快捷键说明

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