22 #ifndef DIRECTOR_SPRITE_H 23 #define DIRECTOR_SPRITE_H 28 class BitmapCastMember;
29 class ShapeCastMember;
37 enum AutoPuppetProperty {
63 Frame *getFrame()
const {
return _frame; }
64 Score *getScore()
const {
return _score; }
68 void updateEditable();
70 bool respondsToMouse();
73 bool checkSpriteType();
76 void setPattern(uint16 pattern);
78 void setCast(
CastMemberID memberID,
bool replaceDims =
true);
83 uint32 getForeColor();
84 uint32 getBackColor();
85 void setAutoPuppet(AutoPuppetProperty property,
bool value);
86 bool getAutoPuppet(AutoPuppetProperty property);
88 inline int getWidth() {
return _width; }
90 inline int getHeight() {
return _height; }
91 void setHeight(
int h);
94 void setBbox(
int l,
int t,
int r,
int b);
97 void setPosition(
int x,
int y);
111 SpriteType _spriteType;
Definition: surface.h:587
Definition: director.h:127
Definition: castmember.h:45