ScummVM API documentation
Draci::Animation Class Reference

Public Member Functions

 Animation (DraciEngine *v, int id, uint z, bool playing)
 
uint getZ () const
 
void setZ (uint z)
 
void setID (int id)
 
int getID () const
 
void nextFrame (bool force)
 
void drawFrame (Surface *surface)
 
void addFrame (Drawable *frame, const SoundSample *sample)
 
void replaceFrame (int i, Drawable *frame, const SoundSample *sample)
 
const DrawablegetConstCurrentFrame () const
 
DrawablegetCurrentFrame ()
 
DrawablegetFrame (int frameNum)
 
void setCurrentFrame (uint frame)
 
uint currentFrameNum () const
 
uint getFrameCount () const
 
void makeLastFrameRelative (int x, int y)
 
void clearShift ()
 
bool isPlaying () const
 
void setPlaying (bool playing)
 
bool isPaused () const
 
void setPaused (bool paused)
 
bool isLooping () const
 
void setLooping (bool looping)
 
void setIsRelative (bool value)
 
bool isRelative () const
 
void setRelative (int relx, int rely)
 
int getRelativeX () const
 
int getRelativeY () const
 
const DisplacementgetDisplacement () const
 
Displacement getCurrentFrameDisplacement () const
 
Common::Point getCurrentFramePosition () const
 
void supportsQuickAnimation (bool val)
 
int getIndex () const
 
void setIndex (int index)
 
void setScaleFactors (double scaleX, double scaleY)
 
double getScaleX () const
 
double getScaleY () const
 
void markDirtyRect (Surface *surface) const
 
void registerCallback (AnimationCallback callback)
 
void doNothing ()
 
void exitGameLoop ()
 
void tellWalkingState ()
 
void play ()
 
void stop ()
 
void del ()
 

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