34 bool play(
const std::string &action);
int getHeight() const
Gets the height in pixels of the first sprite in the list.
std::vector< Sprite * > mSprites
bool draw(Graphics *graphics, int posX, int posY) const
int getNumberOfLayers() const
void setAlpha(float alpha)
bool play(const std::string &action)
void ensureSize(size_t layerCount)
void set(int layer, Sprite *sprite)
int getWidth() const
Gets the width in pixels of the first sprite in the list.
bool setDirection(SpriteDirection direction)
int getMaxDuration() const
A central point of control for graphics.
Defines a class for loading and storing images.
Animates a sprite by adding playback state.