📄 cbug.h
字号:
#ifndef CBUG_H
#define CBUG_H
class CBug
{
public:
CBug();
void create(SimpleWindow &W,float &HP,float &bigsmall,
float &speed,float &X,float &Y);
void Draw();
void Move();
void ChangeDrection();
void Action();
////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
///很想PRIVATE再GET,但Time Limit。
BitMap bmp;
BOOL alive;
int hp;
int Drection;
float Bigorsmall;
float Speed;
float x,y;
};
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -