ccontrol.h
来自「3D俄罗斯方块源码.rar」· C头文件 代码 · 共 48 行
H
48 行
#ifndef _CCONTROL_H
#define _CCONTROL_H
//--------------------------------------------------------------
/**\!File
*
*File name:CCONTROL.h
*
*His:add by honghaier @2004/5/7
*
*Desc:游戏控制类
*/
//---------------------------------------------------------------
//---------------------------------------------------------------
class CControl
{
public:
int iUpKey;
int iDownKey;
int iLeftKey;
int iRightKey;
int iEndKey;
int iStopKey;
/**!\brief
*设置UP键
*/
void SetUpKey(int _iup);
/**!\brief
*设置Down键
*/
void SetDownKey(int _idown);
/**!\brief
*设置Left键
*/
void SetLeftKey(int _ileft);
/**!\brief
*设置Right键
*/
void SetRightKey(int _iright);
/**!\brief
*设置End键
*/
void SetEndKey(int _iend);
/**!\brief
*设置Stop键
*/
void SetStopKey(int _istop);
};
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?