#include <compoundsprite.h>
Definition at line 27 of file compoundsprite.h.
◆ CompoundSprite()
| CompoundSprite::CompoundSprite |
( |
| ) |
|
|
default |
◆ ~CompoundSprite()
| CompoundSprite::~CompoundSprite |
( |
| ) |
|
◆ add()
◆ clear()
| void CompoundSprite::clear |
( |
| ) |
|
◆ doRedraw()
| void CompoundSprite::doRedraw |
( |
| ) |
const |
|
inline |
◆ draw()
◆ ensureSize()
| void CompoundSprite::ensureSize |
( |
size_t |
layerCount | ) |
|
◆ getAlpha()
| float CompoundSprite::getAlpha |
( |
| ) |
const |
|
inline |
◆ getHeight()
| int CompoundSprite::getHeight |
( |
| ) |
const |
|
inline |
Gets the height in pixels of the first sprite in the list.
Definition at line 46 of file compoundsprite.h.
◆ getMaxDuration()
| int CompoundSprite::getMaxDuration |
( |
| ) |
const |
◆ getNumberOfLayers()
| int CompoundSprite::getNumberOfLayers |
( |
| ) |
const |
◆ getWidth()
| int CompoundSprite::getWidth |
( |
| ) |
const |
|
inline |
Gets the width in pixels of the first sprite in the list.
Definition at line 41 of file compoundsprite.h.
◆ play()
| bool CompoundSprite::play |
( |
const std::string & |
action | ) |
|
◆ redraw()
| void CompoundSprite::redraw |
( |
| ) |
const |
|
private |
◆ reset()
| bool CompoundSprite::reset |
( |
| ) |
|
◆ set()
| void CompoundSprite::set |
( |
int |
layer, |
|
|
Sprite * |
sprite |
|
) |
| |
◆ setAlpha()
◆ setDirection()
◆ size()
| size_t CompoundSprite::size |
( |
| ) |
const |
|
inline |
◆ update()
| bool CompoundSprite::update |
( |
int |
time | ) |
|
◆ mAlpha
| float CompoundSprite::mAlpha = 1.0f |
|
private |
◆ mAlphaImage
◆ mHeight
| int CompoundSprite::mHeight = 0 |
|
private |
◆ mImage
◆ mNeedsRedraw
◆ mOffsetX
| int CompoundSprite::mOffsetX = 0 |
|
mutableprivate |
◆ mOffsetY
| int CompoundSprite::mOffsetY = 0 |
|
private |
◆ mSprites
| std::vector<Sprite*> CompoundSprite::mSprites |
|
private |
◆ mWidth
| int CompoundSprite::mWidth = 0 |
|
mutableprivate |
The documentation for this class was generated from the following files: