ScummVM API documentation
Gnap::PlayerGnap Class Reference
Inheritance diagram for Gnap::PlayerGnap:
Gnap::Character

Public Member Functions

 PlayerGnap (GnapEngine *vm)
 
int getSequenceId (int kind, Common::Point gridPos) override
 
void initPos (int gridX, int gridY, Facing facing) override
 
void playSequence (int sequenceId) override
 
void updateIdleSequence () override
 
void updateIdleSequence2 () override
 
int getWalkSequenceId (int deltaX, int deltaY) override
 
bool walkTo (Common::Point gridPos, int animationIndex, int sequenceId, int flags) override
 
void actionIdle (int sequenceId)
 
bool doPlatypusAction (int gridX, int gridY, int platSequenceId, int callback)
 
int getShowSequenceId (int index, int gridX, int gridY)
 
Facing getWalkFacing (int deltaX, int deltaY)
 
int getWalkStopSequenceId (int deltaX, int deltaY)
 
void idle ()
 
void initBrainPulseRndValue ()
 
void kissPlatypus (int callback)
 
void playBrainPulsating (Common::Point gridPos=Common::Point(0, 0))
 
void playIdle (Common::Point gridPos=Common::Point(0, 0))
 
void playImpossible (Common::Point gridPos=Common::Point(0, 0))
 
void playMoan1 (Common::Point gridPos=Common::Point(0, 0))
 
void playMoan2 (Common::Point gridPos=Common::Point(0, 0))
 
void playPullOutDevice (Common::Point gridPos=Common::Point(0, 0))
 
void playPullOutDeviceNonWorking (Common::Point gridPos=Common::Point(0, 0))
 
void playScratchingHead (Common::Point gridPos=Common::Point(0, 0))
 
void playShowCurrItem (Common::Point destPos, int gridLookX, int gridLookY)
 
void playShowItem (int itemIndex, int gridLookX, int gridLookY)
 
void playUseDevice (Common::Point gridPos=Common::Point(0, 0))
 
void useDeviceOnPlatypus ()
 
void useDisguiseOnPlatypus ()
 
void useJointOnPlatypus ()
 
- Public Member Functions inherited from Gnap::Character
 Character (GnapEngine *vm)
 
void walkStep ()
 

Public Attributes

int _brainPulseNum
 
int _brainPulseRndValue
 
- Public Attributes inherited from Gnap::Character
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
 

Additional Inherited Members

- Protected Attributes inherited from Gnap::Character
GnapEngine_vm
 

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