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

📄 pane.cpp

📁 运用VC++编写的
💻 CPP
字号:
// Pane.cpp : implementation file
//

#include "stdafx.h"
#include "Snake.h"
#include "Pane.h"

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

/////////////////////////////////////////////////////////////////////////////
// CPane

CPane::CPane()
{
	m_point.x=0;
    m_point.y=0;
}

CPane::~CPane()
{
}


BEGIN_MESSAGE_MAP(CPane, CStatic)
	//{{AFX_MSG_MAP(CPane)
		// NOTE - the ClassWizard will add and remove mapping macros here.
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CPane message handlers


void CPane::SetPoint(int x, int y)  //设置该方块的坐标(虚拟的坐标)
{
	m_point.x=x;
	m_point.y=y;
}



⌨️ 快捷键说明

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