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

📄 youbian.cpp

📁 小球打砖块
💻 CPP
字号:
// YouBian.cpp: implementation of the YouBian class.
//
//////////////////////////////////////////////////////////////////////

#include "stdafx.h"
#include "mqgGAME.h"
#include "YouBian.h"

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

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////

YouBian::YouBian()
{
	cr.left=550;
	cr.top=5;
	cr.right=555;
	cr.bottom=440;
}

YouBian::~YouBian()
{

}

void YouBian::IsZhuang()
{
	RECT tt;
	if(IntersectRect(&tt,&cr,&pBall->cr))
		pBall->ZhuanXiang(1);

}

⌨️ 快捷键说明

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