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

📄 bonus.h

📁 VC++游戏雷霆战机源代码 这款游戏类似雷电
💻 H
字号:
// Bonus.h: interface for the CBonus class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_BONUS_H__E30C0C48_306D_486C_8C4A_AA02D868C7AC__INCLUDED_)
#define AFX_BONUS_H__E30C0C48_306D_486C_8C4A_AA02D868C7AC__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "BaseObj.h"

class CBonus : public CBaseObj  
{
public:
	CBonus(CDirectWnd *win,
		   CObList *ObList,
		   int px,
		   int py,
		   int xspd,
		   int yspd,
		   int btype);
	virtual ~CBonus();
	void LoadPic();
	void Action();
	int getBonusType() { return bonusType; }

public:
	LPDIRECTDRAWSURFACE BonusPic;

private:
	int bonusType;     //type 0:子弹一 1:子弹二 2: 炸弹 3: 无敌 4: 子弹全满
};

#endif // !defined(AFX_BONUS_H__E30C0C48_306D_486C_8C4A_AA02D868C7AC__INCLUDED_)

⌨️ 快捷键说明

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