Package : Items
class CItem : public CSprite
Attributes Index
public char m_aniLen
public char m_aniSpeed
public uchar m_sprID
Methods Index
Action , CItem , CountDisable , Draw , MoveTo , Use , Attributes Details
public char m_aniLen
public char m_aniSpeed
public uchar m_sprID
Methods Details
Action
- public virtual BOOL Action()
return TRUE if it must be deleted
CItem
- public CItem(uchar objID, short initX, short initY , char margeBottom , char margeLeft , char margeTop , char margeRight , uchar sprID , char aniLen=DEFAULT_ITEM_ANI_LEN , char aniSpeed=DEFAULT_ANI_SPEED)
CountDisable
- public BOOL CountDisable()
Draw
- public virtual void Draw()
MoveTo
- public virtual BOOL MoveTo(uchar tDir)
Use
- public virtual BOOL Use()