?? explosionarray.h
字號:
#ifndef EXPLOSIONARRAY_H
#define EXPLOSIONARRAY_H
#include <e32base.h>
#include <eikenv.h>
class CBitmapContext;
class CFbsBitmap;
class CExplosion;
/**
*
* @class CExplosion Explosion.h
* @brief This class draws the explosion
*
* Copyright (c) EMCC Software Ltd 2003
* @version 1.0
*
*/
class CExplosionArray : public CBase
{
public:
static CExplosionArray* NewL(const TRect aValidArea);
static CExplosionArray* NewLC(const TRect aValidArea);
~CExplosionArray();
void CreateExplosionL();
void DrawExplosions(CBitmapContext& aBitmapContext);
private:
CExplosionArray(const TRect aValidArea);
void ConstructL();
void GenerateRandomPosition(TInt& aX, TInt& aY);
private:
RPointerArray<CExplosion> iExplosionsArray;
const TRect iValidArea;
};
#endif //EXPLOSIONARRAY_H
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -