⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 explosionarray.h

📁 s60源码
💻 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 + -