#include <AnimationDelay.h>
◆ State
| Enumerator |
|---|
| Entry | |
| Exit | |
| Base | |
| LowExit | |
| LowEntry | |
◆ changeState()
| void MEPtools::AnimationDelay::changeState |
( |
State |
newState | ) |
|
|
inlineprotected |
Changes the protected state of the delay.
◆ delay()
| const sf::Time& MEPtools::AnimationDelay::delay |
( |
| ) |
const |
|
inlineprotected |
◆ newCycle()
| void MEPtools::AnimationDelay::newCycle |
( |
| ) |
|
|
inlineprotected |
◆ resetDelay()
| void MEPtools::AnimationDelay::resetDelay |
( |
| ) |
|
|
inline |
◆ setDelay()
| void MEPtools::AnimationDelay::setDelay |
( |
const sf::Time & |
delay, |
|
|
bool |
permaDelay = false |
|
) |
| |
|
inline |
Sets the delay of an animation. Delay is a time to wait from starting the animation.
- Parameters
-
| [in] | delay | Delay to be applied on the animation. |
| [in] | premaDelay | If false the delay will be applied once otherwise it will be applied always when run() is called. |
◆ setEntryDelay()
| void MEPtools::AnimationDelay::setEntryDelay |
( |
const sf::Time & |
delay | ) |
|
|
inline |
Sets the delay of an animation then Entrance state. Delay is a time to wait from starting the animation.
- Parameters
-
| [in] | delay | Delay to be applied on the animation on Entrance. |
◆ setExitDelay()
| void MEPtools::AnimationDelay::setExitDelay |
( |
const sf::Time & |
delay | ) |
|
|
inline |
Sets the delay of an animation then Exit state. Delay is a time to wait from starting the animation.
- Parameters
-
| [in] | delay | Delay to be applied on the animation on Exit. |
◆ setGeneralDelay()
| void MEPtools::AnimationDelay::setGeneralDelay |
( |
const sf::Time & |
delay, |
|
|
bool |
permaDelay = false |
|
) |
| |
|
inline |
Sets the delay of an animation in every state of the window. Delay is a time to wait from starting the animation.
- Parameters
-
| [in] | delay | Delay to be applied on the animation on every state. |
| [in] | premaDelay | If false the delay will be applied once otherwise it will be applied always when run() is called (Only in Base state). |
◆ setLowEntryDelay()
| void MEPtools::AnimationDelay::setLowEntryDelay |
( |
const sf::Time & |
delay | ) |
|
|
inline |
Sets the delay of an animation then Entrance state. Delay is a time to wait from starting the animation.
- Parameters
-
| [in] | delay | Delay to be applied on the animation on Entrance. |
◆ setLowExitDelay()
| void MEPtools::AnimationDelay::setLowExitDelay |
( |
const sf::Time & |
delay | ) |
|
|
inline |
Sets the delay of an animation then Exit state. Delay is a time to wait from starting the animation.
- Parameters
-
| [in] | delay | Delay to be applied on the animation on Exit. |
◆ updateDelay()
| bool MEPtools::AnimationDelay::updateDelay |
( |
const sf::Time & |
currentTime | ) |
|
|
inlineprotected |
◆ state