|
|
AnimationTemplate * | resolveHandle (uint handle) const |
| |
|
const Frame & | getFrame (uint index) const override |
| |
|
uint | getFrameCount () const override |
| |
|
void | unlock () override |
| |
|
bool | isValid () const |
| |
| void | addFrame (int index) |
| | Fügt einen neuen Frame zur Animation hinzu. More...
|
| |
| void | setFrame (int destIndex, int srcIndex) |
| | Ändert einen bereits in der Animation vorhandenen Frame. More...
|
| |
| void | setAnimationType (Animation::ANIMATION_TYPES type) |
| | Setzt den Animationstyp. More...
|
| |
| void | setFPS (int FPS) |
| | Setzt die Abspielgeschwindigkeit. More...
|
| |
|
bool | persist (OutputPersistenceBlock &writer) override |
| |
|
bool | unpersist (InputPersistenceBlock &reader) override |
| |
|
Animation::ANIMATION_TYPES | getAnimationType () const |
| |
|
int | getFPS () const |
| |
|
int | getMillisPerFrame () const |
| |
|
bool | isScalingAllowed () const |
| |
|
bool | isAlphaAllowed () const |
| |
|
bool | isColorModulationAllowed () const |
| |
|
|
Animation::ANIMATION_TYPES | _animationType |
| |
|
int32 | _FPS |
| |
|
int32 | _millisPerFrame |
| |
|
bool | _scalingAllowed |
| |
|
bool | _alphaAllowed |
| |
|
bool | _colorModulationAllowed |
| |
◆ addFrame()
| void Sword25::AnimationTemplate::addFrame |
( |
int |
index | ) |
|
Fügt einen neuen Frame zur Animation hinzu.
Der Frame wird an das Ende der Animation angehängt.
- Parameters
-
| Index | der Index des Frames in der Quellanimation |
◆ setFrame()
| void Sword25::AnimationTemplate::setFrame |
( |
int |
destIndex, |
|
|
int |
srcIndex |
|
) |
| |
Ändert einen bereits in der Animation vorhandenen Frame.
- Parameters
-
| DestIndex | der Index des Frames der überschrieben werden soll |
| SrcIndex | der Index des einzufügenden Frames in der Quellanimation |
◆ setAnimationType()
| void Sword25::AnimationTemplate::setAnimationType |
( |
Animation::ANIMATION_TYPES |
type | ) |
|
|
inline |
Setzt den Animationstyp.
- Parameters
-
| Type | der Typ der Animation. Muss aus den enum BS_Animation::ANIMATION_TYPES sein. |
◆ setFPS()
| void Sword25::AnimationTemplate::setFPS |
( |
int |
FPS | ) |
|
Setzt die Abspielgeschwindigkeit.
- Parameters
-
| FPS | die Abspielgeschwindigkeit in Frames pro Sekunde. |
The documentation for this class was generated from the following file: