|
persona-3-dual
A DS demake of Persona 3
|
Holds for durationMs milliseconds (converted to Q20.12 seconds).
More...
#include <UIDelayAnimation.hpp>


Public Member Functions | |
| UIDelayAnimation (int durationMs) | |
| void | reset () override |
| Resets runtime state so the animation can play again (used by Loop). | |
| Public Member Functions inherited from UIAnimation | |
| virtual | ~UIAnimation ()=default |
| UIAnimation (const UIAnimation &)=delete | |
| UIAnimation & | operator= (const UIAnimation &)=delete |
| UIAnimation (UIAnimation &&)=delete | |
| UIAnimation & | operator= (UIAnimation &&)=delete |
| bool | tick (ae::q20_12_t dt) |
Advances the animation by dt seconds (Q20.12). | |
| virtual void | reverse () |
| void | pause () |
| void | resume () |
| void | cancel () |
| bool | isCancelled () const |
| bool | isPaused () const |
| bool | isDone () const |
| void | setRepeat (UIRepeatMode mode, int count=-1) |
Protected Member Functions | |
| bool | onUpdate (ae::q20_12_t dt) override |
| Per-frame update. | |
| Protected Member Functions inherited from UIAnimation | |
| UIAnimation ()=default | |
| bool | applyRepeat () |
| Applies repeat policy after a completed cycle. | |
Private Attributes | |
| ae::q20_12_t | duration {0} |
Additional Inherited Members | |
| Protected Attributes inherited from UIAnimation | |
| bool | paused = false |
| bool | cancelled = false |
| bool | done = false |
| ae::q20_12_t | elapsed {0} |
| UIRepeatMode | repeatMode = UIRepeatMode::Once |
| int | remainingRepeats = -1 |
| -1 = infinite when mode is not Once. | |
Holds for durationMs milliseconds (converted to Q20.12 seconds).
Definition at line 15 of file UIDelayAnimation.hpp.
|
inlineexplicit |
Definition at line 18 of file UIDelayAnimation.hpp.
|
inlineoverrideprotectedvirtual |
Per-frame update.
Implements UIAnimation.
Definition at line 29 of file UIDelayAnimation.hpp.
|
inlineoverridevirtual |
Resets runtime state so the animation can play again (used by Loop).
Reimplemented from UIAnimation.
Definition at line 23 of file UIDelayAnimation.hpp.

|
private |
Definition at line 36 of file UIDelayAnimation.hpp.