cbug.h
来自「以前写的一个bughunt小游戏」· C头文件 代码 · 共 43 行
H
43 行
#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 + =
减小字号Ctrl + -
显示快捷键?