?? prerabbit.h
字號:
#ifndef _PRERABBIT_H_
#define _PRERABBIT_H_
#pragma once
//=================================================================================
#include "INCLUDE\AnimCtrl.h"
//=================================================================================
class CPreRabbit : public CAnimCtrl
{
public:
virtual void New(CBmp24*p,int x,int y);
virtual int Play(void*);
CPreRabbit();
virtual ~CPreRabbit();
private:
int m_Direct;//兔子的當前方向
int m_Wait; //用于判斷兔子需不需要等待的計數(shù)器
int m_v; //兔子每次移動多少像素
};
//================================================================================
#endif
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -