|
|
Animation::ANIMATION_TYPES | _animationType |
| |
|
int32 | _FPS |
| |
|
int32 | _millisPerFrame |
| |
|
bool | _scalingAllowed |
| |
|
bool | _alphaAllowed |
| |
|
bool | _colorModulationAllowed |
| |
◆ getFrame()
| const Frame & Sword25::AnimationTemplate::getFrame |
( |
uint |
index | ) |
const |
|
inlineoverridevirtual |
◆ getFrameCount()
| uint Sword25::AnimationTemplate::getFrameCount |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ unlock()
| void Sword25::AnimationTemplate::unlock |
( |
| ) |
|
|
inlineoverridevirtual |
◆ 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. |
◆ persist()
◆ unpersist()
The documentation for this class was generated from the following file: