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

📄 binghe.h

📁 一个完整的2D滚屏游戏示例
💻 H
字号:
#ifndef _BING_HE
#define _BING_HE

#include "saintFighter.h"

class CBingHe:public CSaintFighter
{
public:
bool m_bMoving;
public:
	CBingHe();
	virtual void Trace(DWORD dwMouse,POINT MousePoint,bool key[256],long unsigned int luTime);
};

//////////////////////////////////////////////////////////////////////
class CFireBH : public CSpirit
{
public:
CFireBH();

public:
//virtual 
	void Activate(CSaintFighter saint);
virtual void Trace();  //"t" is a paremeter to control the speed of fire;
//virtual void BeColliding(CSpirit* pSpirit);  //"t" is a paremeter to control the speed of fire;
void BeCollided(){m_bActive=false;m_bAlive=false;return;} 
}; 


#endif

⌨️ 快捷键说明

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