ScummVM API documentation
Saga2::GrabInfo Class Reference

Public Types

enum  Intent {
  kIntNone, kIntWalkTo, kIntPickUp, kIntOpen,
  kIntDrop, kIntUse, kIntAttack, kIntCast,
  kIntIntentCounts
}
 

Public Member Functions

void selectImage (uint8 index)
 
void setMoveCount (int16 val)
 
int16 getMoveCount ()
 
void grabObject (ObjectID objid, Intent in=kIntDrop, int16 count=1)
 
void grabObject (GameObject *obj, Intent in=kIntDrop, int16 count=1)
 
void copyObject (ObjectID objid, Intent in=kIntDrop, int16 count=1)
 
void copyObject (GameObject *obj, Intent in=kIntDrop, int16 count=1)
 
uint8 getIntent ()
 
bool getDoable ()
 
uint8 setIntent (uint8 in)
 
void setDoable (bool doable)
 
GameObjectgetObject ()
 
ObjectID getObjectId ()
 
void placeObject (const Location &loc)
 
void replaceObject ()
 
void setText (const char *txt)
 
void setGauge (int16 numerator, int16 denominator)
 
void clearGauge ()
 

Protected Member Functions

void setIcon ()
 
void clearIcon ()
 
void setCursor ()
 

Protected Attributes

gPixelMap _pointerMap
 
Point16 _pointerOffset
 
Location _from
 
ObjectID _grabId
 
GameObject_grabObj
 
Intent _intention
 
bool _intentDoable
 
bool _displayGauge
 
int16 _gaugeNumerator
 
int16 _gaugeDenominator
 
int16 _moveCount
 
char _textBuf [kBufSize]
 

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