smallbox2.cpp
来自「俄罗斯方块小游戏的源码 只实现了基本的功能」· C++ 代码 · 共 41 行
CPP
41 行
// SmallBox2.cpp: implementation of the CSmallBox class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "SmallBox2.h"
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
CSmallBox::CSmallBox()
{
}
CSmallBox::~CSmallBox()
{
}
int CSmallBox::GetState()
{
return state;
}
void CSmallBox::SetBackGround()
{
state = BACKGROUND;
}
void CSmallBox::SetDisable()
{
state = DISABLEMOVE;
}
void CSmallBox::SetMove()
{
state = MOVE;
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?