ScummVM API documentation
Gnap::Character Class Referenceabstract
Inheritance diagram for Gnap::Character:
Gnap::PlayerGnap Gnap::PlayerPlat

Public Member Functions

 Character (GnapEngine *vm)
 
void walkStep ()
 
virtual int getSequenceId (int kind, Common::Point gridPos)=0
 
virtual void playSequence (int sequenceId)=0
 
virtual void updateIdleSequence ()=0
 
virtual void updateIdleSequence2 ()=0
 
virtual void initPos (int gridX, int gridY, Facing facing)=0
 
virtual int getWalkSequenceId (int deltaX, int deltaY)=0
 
virtual bool walkTo (Common::Point gridPos, int animationIndex, int sequenceId, int flags)=0
 

Public Attributes

Common::Point _pos
 
Facing _idleFacing
 
int _actionStatus
 
int _sequenceId
 
int _sequenceDatNum
 
int _id
 
int _gridX
 
int _gridY
 
int _walkNodesCount
 
GridStruct _walkNodes [kMaxGridStructs]
 
int _walkDestX
 
int _walkDestY
 
int _walkDeltaX
 
int _walkDeltaY
 
int _walkDirX
 
int _walkDirY
 
int _walkDirXIncr
 
int _walkDirYIncr
 

Protected Attributes

GnapEngine_vm
 

The documentation for this class was generated from the following file: