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

📄 sprite.h

📁 symbian os c++ 碰撞小球 代码
💻 H
字号:
/*
 * Sprite.h
 *
 *  Created on: 2009-3-3
 *      Author: pengxingfu
 */

#ifndef SPRITE_H_
#define SPRITE_H_

#include <e32base.h>
//#include <e32cmn.h>

//class CFbsBitmap;


class CSprite : public CBase
	{

public:
	
    static CSprite* NewL(TInt aXVelocity,TInt aYVelocity, const TPoint& aInitialPosition);
		
		
	static	CSprite* NewLC(TInt aXVelocity,TInt aYVelocity, const TPoint& aInitialPosition);




   ~CSprite();




TPoint Position() const;

void Move(const TSize& aSize, const TRect& aBounds);

private:
	
CSprite(TInt aXVelocity,TInt aYVelocity, const TPoint& aInitialPosition);

void ConstructL();



TPoint iPosition;

TInt iXVelocity;
TInt iYVelocity;
};

#endif /* SPRITE_H_ */

⌨️ 快捷键说明

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