ballengine.h
来自「一个symbian上成熟的小游戏源码」· C头文件 代码 · 共 36 行
H
36 行
// BallEngine.h: interface for the CBallEngine class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_BALLENGINE_H__AEAC07DA_D8BA_4832_8223_A8A7AC1A75AD__INCLUDED_)
#define AFX_BALLENGINE_H__AEAC07DA_D8BA_4832_8223_A8A7AC1A75AD__INCLUDED_
#include <e32base.h>
#include "Ball.h"
class CBallEngine : public CBase
{
private:
CBallEngine();
void ConstructL();
public:
virtual ~CBallEngine();
static CBallEngine* NewL();
static CBallEngine* NewLC();
private:
RPointerArray<CBall> iArray;
RPointerArray<CFbsBitmap> iArrayBmps;
TRect iRect;
public:
void CreateBall();
void RemoveBall();
void Draw(CBitmapContext& aGc) const;
void SetRect(const TRect& aRect);
};
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?