?? box.h
字號:
#ifndef H_BOX
#define H_BOX
#include "DataType.h"
class Box
{
public:
Box();
void init(void);
void left(void);
void right(void);
void drop(void);
void rotate(void);
BoxCode getCode(void)const;
Coord getLocation(void)const;
int getBoxNo(void)const;
void show();//測試用
private:
static BoxCode codeTable[7][4];
Coord location;
int boxNo;
int shapeNo;
};
#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -