ScummVM API documentation
Mohawk::LBAnimation Class Reference

Public Member Functions

 LBAnimation (MohawkEngine_LivingBooks *vm, LBAnimationItem *parent, uint16 resourceId)
 
void draw ()
 
bool update ()
 
void start ()
 
void seek (uint16 pos)
 
void seekToTime (uint32 time)
 
void stop ()
 
void playSound (uint16 resourceId)
 
bool soundPlaying (uint16 resourceId, const Common::String &cue)
 
bool transparentAt (int x, int y)
 
void setTempo (uint16 tempo)
 
uint getNumResources ()
 
uint16 getResource (uint num)
 
Common::Point getOffset (uint num)
 
uint32 getCurrentFrame ()
 
uint16 getParentId ()
 

Protected Member Functions

void loadShape (uint16 resourceId)
 

Protected Attributes

MohawkEngine_LivingBooks_vm
 
LBAnimationItem_parent
 
Common::Rect _bounds
 
Common::Rect _clip
 
Common::Array< LBAnimationNode * > _nodes
 
uint16 _tempo
 
uint16 _currentSound
 
CueList _cueList
 
uint32 _lastTime
 
uint32 _currentFrame
 
bool _running
 
Common::Array< uint16 > _shapeResources
 
Common::Array< Common::Point_shapeOffsets
 

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