explosion.h

来自「series60 应用程序开发的源代码 series60 应用程序开发的源代码」· C头文件 代码 · 共 47 行

H
47
字号
#ifndef EXPLOSION_H
#define EXPLOSION_H


#include <e32base.h>
#include <eikenv.h>

class CBitmapContext;
class CFbsBitmap;

/**
 *
 * @class    CExplosion Explosion.h
 * @brief    This class creates the explosion
 *
 * Copyright (c) EMCC Software Ltd 2003
 * @version    1.0
 *
 */

class CExplosion : public CBase
{
    public:
        static CExplosion* NewL(TPoint aPoint);
        static CExplosion* NewLC(TPoint aPoint);
        ~CExplosion();
        void BlitCurrentFrame(CBitmapContext& aBitmapContext);
        TBool IsFinished();

    private:
        CExplosion(TPoint aPoint);
        void ConstructL();

    private:
        RPointerArray<CFbsBitmap> iBitmapArray;
        RPointerArray<CFbsBitmap> iMasksArray;
        TInt iCurrentFrame;
        TPoint iPoint;
        TBool iDescending;

};

#endif //EXPLOSION_H



⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?