ScummVM API documentation
Director::Sprite Class Reference

Public Member Functions

 Sprite (Frame *frame=nullptr)
 
 Sprite (const Sprite &sprite)
 
Spriteoperator= (const Sprite &sprite)
 
FramegetFrame () const
 
ScoregetScore () const
 
void reset ()
 
void updateEditable ()
 
bool respondsToMouse ()
 
bool isActive ()
 
bool shouldHilite ()
 
bool checkSpriteType ()
 
uint16 getPattern ()
 
void setPattern (uint16 pattern)
 
void setCast (CastMemberID memberID, bool replaceDims=true)
 
bool isQDShape ()
 
Graphics::SurfacegetQDMatte ()
 
void createQDMatte ()
 
MacShapegetShape ()
 
uint32 getForeColor ()
 
uint32 getBackColor ()
 
void setAutoPuppet (AutoPuppetProperty property, bool value)
 
bool getAutoPuppet (AutoPuppetProperty property)
 
int getWidth ()
 
void setWidth (int w)
 
int getHeight ()
 
void setHeight (int h)
 
Common::Rect getBbox (bool unstretched)
 
void setBbox (int l, int t, int r, int b)
 
Common::Point getPosition ()
 
void setPosition (int x, int y)
 

Public Attributes

Frame_frame
 
Score_score
 
Movie_movie
 
Graphics::FloodFill_matte
 
CastMemberID _scriptId
 
byte _colorcode
 
byte _blendAmount
 
uint32 _unk3
 
bool _enabled
 
SpriteType _spriteType
 
byte _inkData
 
InkType _ink
 
bool _trails
 
CastMemberID _castId
 
uint16 _pattern
 
CastMember_cast
 
byte _thickness
 
Common::Point _startPoint
 
int16 _width
 
int16 _height
 
bool _moveable
 
bool _editable
 
bool _puppet
 
uint32 _autoPuppet
 
bool _immediate
 
uint32 _backColor
 
uint32 _foreColor
 
byte _blend
 
byte _volume
 
bool _stretch
 

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