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

📄 score.h

📁 用MFC编写的一个潜艇大战的游戏
💻 H
字号:
// Score.h: interface for the CScore class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_SCORE_H__9939D477_C570_11D4_A7CC_EA7F379C1C5F__INCLUDED_)
#define AFX_SCORE_H__9939D477_C570_11D4_A7CC_EA7F379C1C5F__INCLUDED_

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

#include "MyObject.h"

class CScore : public CMyObject  
{
public:
	bool Draw(CDC* pDC, bool bPause);
	CScore(CPoint ptPos,int nMuti, int nScore, DWORD nColor);
	CRect GetRect()	{ return NULL; }
	static int GetTotalScore()	{ return m_nTotalScore; }
	virtual ~CScore();

private:
	COLORREF m_nColor;
	int m_nProcess;
	int m_nScore;
	int m_nMuti;
	static int m_nTotalScore;
};

#endif // !defined(AFX_SCORE_H__9939D477_C570_11D4_A7CC_EA7F379C1C5F__INCLUDED_)

⌨️ 快捷键说明

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