ScummVM API documentation
Scumm::Traveller Class Reference
Inheritance diagram for Scumm::Traveller:
Scumm::IContainedObject

Public Member Functions

 Traveller (AI *ai)
 
 Traveller (int originX, int originY, AI *ai)
 
IContainedObjectduplicate () override
 
void setSourceHub (int sourceHub)
 
void setPosX (int posX)
 
void setPosY (int posY)
 
void setAngleTo (int angleTo)
 
void setPowerTo (int powerTo)
 
void setWaterSourceX (int waterSourceX)
 
void setWaterSourceY (int waterSourceY)
 
void setWaterDestX (int waterDestX)
 
void setWaterDestY (int waterDestY)
 
int getSourceHub () const
 
int getPosX () const
 
int getPosY () const
 
int getAngleTo () const
 
int getPowerTo () const
 
int getWaterSourceX () const
 
int getWaterSourceY () const
 
int getWaterDestX () const
 
int getWaterDestY () const
 
void setDisabled ()
 
void unsetDisabled ()
 
int getDisabled ()
 
void adjustPosX (int offsetX)
 
void adjustPosY (int offsetY)
 
void adjustXY (int offsetX, int offsetY)
 
void enableWaterFlag ()
 
void disableWaterFlag ()
 
int getWaterFlag () const
 
int numChildrenToGen () override
 
IContainedObjectcreateChildObj (int, int &) override
 
int checkSuccess () override
 
float calcT () override
 
- Public Member Functions inherited from Scumm::IContainedObject
 IContainedObject (float inG)
 
 IContainedObject (IContainedObject &sourceContainedObject)
 
void setValueG (float inG)
 
float getValueG ()
 
int getObjID () const
 
void setObjID (int inputObjID)
 
float returnG () const
 

Static Public Member Functions

static void setTargetPosX (int posX)
 
static void setTargetPosY (int posY)
 
static void setMaxDist (int maxDist)
 

Protected Member Functions

float calcH () override
 
- Protected Member Functions inherited from Scumm::IContainedObject
virtual float getG () const
 

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