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

📄 beedoc.cpp

📁 小蜜蜂射击游戏,画面精彩,声音也不错
💻 CPP
字号:
// beeDoc.cpp : implementation of the CBeeDoc class
//

#include "stdafx.h"
#include "bee.h"

#include "beeDoc.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CBeeDoc

IMPLEMENT_DYNCREATE(CBeeDoc, CDocument)

BEGIN_MESSAGE_MAP(CBeeDoc, CDocument)
	//{{AFX_MSG_MAP(CBeeDoc)
		// NOTE - the ClassWizard will add and remove mapping macros here.
		//    DO NOT EDIT what you see in these blocks of generated code!
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CBeeDoc construction/destruction

CBeeDoc::CBeeDoc():m_gun(120,0,140,40,160,0)
{
	// TODO: add one-time construction code here

	m_gatenum=1,m_score=0;

}

CBeeDoc::~CBeeDoc()
{

}

BOOL CBeeDoc::OnNewDocument()
{
	if (!CDocument::OnNewDocument())
		return FALSE;
    m_gun.shape(100,0,120,40,140,0);
	// TODO: add reinitialization code here
	// (SDI documents will reuse this document)
	return TRUE;
}



/////////////////////////////////////////////////////////////////////////////
// CBeeDoc serialization

void CBeeDoc::Serialize(CArchive& ar)
{
	if (ar.IsStoring())
	{
		// TODO: add storing code here
	}
	else
	{
		// TODO: add loading code here
	}
}

/////////////////////////////////////////////////////////////////////////////
// CBeeDoc diagnostics

#ifdef _DEBUG
void CBeeDoc::AssertValid() const
{
	CDocument::AssertValid();
}

void CBeeDoc::Dump(CDumpContext& dc) const
{
	CDocument::Dump(dc);
}
#endif //_DEBUG

/////////////////////////////////////////////////////////////////////////////
// CBeeDoc commands

⌨️ 快捷键说明

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