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

📄 box.h

📁 俄罗斯方块
💻 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 + -