ScummVM API documentation
LastExpress::CFighter Class Reference
Inheritance diagram for LastExpress::CFighter:
LastExpress::CCath LastExpress::COpponent LastExpress::CCath1 LastExpress::CCath2 LastExpress::CCath3 LastExpress::CCath4 LastExpress::CCath5 LastExpress::COpponent1 LastExpress::COpponent2 LastExpress::COpponent3 LastExpress::COpponent4 LastExpress::COpponent5

Public Member Functions

 CFighter (LastExpressEngine *engine, CFight *fight)
 
virtual void timer ()
 
void doAction (int sequenceIndex, int action)
 
void newSeq ()
 
bool init (CFighter *opponent)
 
virtual bool actionAvailable (int action)
 
int getAction ()
 
int getDodges ()
 
int getHitPoints ()
 
void setHitPoints (int hitPoints)
 
bool isDead ()
 
virtual void send (int action)
 

Protected Attributes

LastExpressEngine_engine = nullptr
 
CFight_fight = nullptr
 
CFighter_opponent = nullptr
 
Seq_seqs [10]
 
int _numSeqs = 0
 
int _currentActionIdx = 0
 
Seq_currentSeq = nullptr
 
Sprite_currentSprite = nullptr
 
int _currentSpriteIdx = 0
 
int _unusedFlag = 0
 
int _nextMessage = 0
 
int _nextSequenceIdx = 0
 
int _hitPoints = 0
 
int _dodges = 0
 
int _timer = 0
 

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