?? block.h
字號:
#ifndef BLOCK_H
#define BLOCK_H
#include <e32std.h>
class TBlock
{
public:
TBlock() :iType(0), iRot(0) {}
static int BlockCount();
static TBlock Block(int id);
static TBlock RandomBlock(TInt64 &seed);
void Rotate(int dir);
TInt8 RowMask(int nr) const;
TInt8 Color() const;
protected:
TBlock(int aType, int aRot) :iType(aType), iRot(aRot) { }
private:
TInt8 iType;
TInt8 iRot;
};
#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -