ScummVM API documentation
Dgds::TrainPlayer Class Reference

Public Member Functions

 TrainPlayer (PlayerType type)
 
bool isBlocking () const
 
bool isDucking () const
 
bool isFalling () const
 
bool isJumping () const
 
bool isStaggering () const
 
bool isStanding () const
 
bool isWalking () const
 
bool isTong () const
 
bool isLucky () const
 
void checkLives ()
 
void doAttack (TrainPlayer &other)
 
void doBlock ()
 
void doClub (int16 damage)
 
void doPursue (const TrainPlayer &other)
 
void doRun ()
 
void doJump ()
 
void setAction (PlayerAction state, bool flag)
 
bool inRange (const TrainPlayer &other)
 
void hit (int16 damage)
 
void startStagger (const TrainPlayer &other)
 
void readStuff (const Common::String &path)
 
void computerDucks ()
 
void checkDuck (const TunnelData &currentTunnel)
 
void doProcess ()
 

Public Attributes

PlayerType _type
 
int16 _xpos
 
int16 _ypos
 
PlayerAction _action
 
int16 _fatigue
 
int16 _hitpoints
 
PlayerIntent _intent
 
int16 _ferocity
 
int16 _val7
 
Common::Array< Common::Array< PlayerData > > _allData
 
Common::Array< PlayerData > * _currentActionData
 
PlayerData_data
 

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