28 #ifndef GOB_ANIOBJECT_H 29 #define GOB_ANIOBJECT_H 31 #include "common/system.h" 33 #include "gob/backbuffer.h" 81 void getFrameSize(int16 &width, int16 &height, uint16 n = 0)
const;
84 bool isIn(int16 x, int16 y)
const;
106 virtual bool draw(
Surface &dest, int16 &left, int16 &top, int16 &right, int16 &bottom);
108 virtual bool clear(
Surface &dest, int16 &left, int16 &top, int16 &right, int16 &bottom);
129 bool drawCMP(
Surface &dest, int16 &left, int16 &top, int16 &right, int16 &bottom);
130 bool drawANI(
Surface &dest, int16 &left, int16 &top, int16 &right, int16 &bottom);
135 #endif // GOB_ANIOBJECT_H virtual void setPosition()
Definition: aniobject.h:42
void setVisible(bool visible)
void getFrameSize(int16 &width, int16 &height, uint16 n=0) const
virtual bool draw(Surface &dest, int16 &left, int16 &top, int16 &right, int16 &bottom)
Definition: backbuffer.h:37
void getFramePosition(int16 &x, int16 &y, uint16 n=0) const
ANIObject(const ANIFile &ani)
void setPause(bool pause)
bool isIn(int16 x, int16 y) const
virtual bool clear(Surface &dest, int16 &left, int16 &top, int16 &right, int16 &bottom)
uint16 getAnimation() const
Definition: surface.h:100
Play the animation continuously.
Definition: aniobject.h:45
void getPosition(int16 &x, int16 &y) const
Play the animation only once.
Definition: aniobject.h:46
Mode
Definition: aniobject.h:44
void setFrame(uint16 frame)
void setAnimation(uint16 animation)