📄 sprite.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 + -