📄 dingbian.cpp
字号:
// DingBian.cpp: implementation of the DingBian class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "mqgGAME.h"
#include "DingBian.h"
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
DingBian::DingBian()
{
cr.left=5;
cr.top=5;
cr.right=555;
cr.bottom=10;
}
DingBian::~DingBian()
{
}
void DingBian::IsZhuang()
{
RECT tt;
if(IntersectRect(&tt,&cr,&pBall->cr))
pBall->ZhuanXiang(2);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -