ScummVM API documentation
Director::Sprite Class Reference

Public Member Functions

 Sprite (Frame *frame=nullptr)
 
 Sprite (const Sprite &sprite)
 
Sprite & operator= (const Sprite &sprite)
 
bool operator== (const Sprite &sprite)
 
Frame * getFrame () const
 
Score * getScore () const
 
void reset ()
 
bool getEditable ()
 
bool respondsToMouse ()
 
bool isActive ()
 
bool shouldHilite ()
 
bool checkSpriteType ()
 
uint16 getPattern ()
 
void setPattern (uint16 pattern)
 
void setCast (CastMemberID memberID, bool replaceDims=true)
 
bool isQDShape ()
 
Graphics::Surface * getQDMatte ()
 
void createQDMatte ()
 
MacShape * getShape ()
 
uint32 getForeColor ()
 
uint32 getBackColor ()
 
void setAutoPuppet (AutoPuppetProperty property, bool value)
 
bool getAutoPuppet (AutoPuppetProperty property)
 
void releaseAutoPuppet (uint32 copyBackMask)
 
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)
 
Common::String formatInfo ()
 
void replaceFrom (Sprite *nextSprite)
 

Public Attributes

Frame * _frame
 
Score * _score
 
Movie * _movie
 
Graphics::FloodFill * _matte
 
uint32 _copyBackMask
 
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 _volume
 
bool _stretch
 
uint32 _spriteListIdx
 
SpriteInfo _spriteInfo
 
byte _flags
 
byte _fgColorG
 
byte _fgColorB
 
byte _bgColorG
 
byte _bgColorB
 
int32 _angleRot
 
int32 _angleSkew
 
Common::Array< BehaviorElement > _behaviors
 

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