ScummVM API documentation
Sherlock::Scalpel::TsAGE::Object Class Reference

Public Member Functions

void setVisage (int visage, int strip)
 
void setAnimMode (bool isAnimating)
 
void setDestination (const Common::Point &pt)
 
bool isAnimEnded () const
 
bool isMoving () const
 
void erase ()
 
void update ()
 
void remove ()
 

Public Attributes

Common::Point _position
 
Common::Point _destination
 
Common::Rect _oldBounds
 
int _frame
 
int _numFrames
 
int _frameChange
 

Static Public Attributes

static ScalpelEngine_vm
 

Member Function Documentation

◆ setVisage()

void Sherlock::Scalpel::TsAGE::Object::setVisage ( int  visage,
int  strip 
)

Load the data for the object

◆ setAnimMode()

void Sherlock::Scalpel::TsAGE::Object::setAnimMode ( bool  isAnimating)

Sets whether the object is animating

◆ setDestination()

void Sherlock::Scalpel::TsAGE::Object::setDestination ( const Common::Point pt)

Starts an object moving to a given destination

◆ isAnimEnded()

bool Sherlock::Scalpel::TsAGE::Object::isAnimEnded ( ) const

Returns true if an animation is ended

◆ isMoving()

bool Sherlock::Scalpel::TsAGE::Object::isMoving ( ) const

Return true if object is moving

◆ erase()

void Sherlock::Scalpel::TsAGE::Object::erase ( )

Erase the area the object was previously drawn at, by restoring the background

◆ update()

void Sherlock::Scalpel::TsAGE::Object::update ( )

Update the frame

◆ remove()

void Sherlock::Scalpel::TsAGE::Object::remove ( )
inline

Remove an object from being displayed


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