📄 bmplayer.h
字号:
// BMPlayer.h: interface for the BMPlayer class.
//
//////////////////////////////////////////////////////////////////////
class BMPlayer
{
public:
BMPlayer();
~BMPlayer();
bool alive;
float posX;
float posY;
int lastaction; //上次方向
int movetime;
int offsetX;
int offsetY;
int laytime;
int bombsum; //可放置数量
int bombcount; //已放置数量
int bomblength; //炸弹长度
int traptime; //被困时间
void initPos();
void delBomb();
void doMove();
void doPlay();
void doTrap();
private:
float speed; //速度
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -