|
TazGraph Project v0.1.0
|


Public Types | |
| enum class | FlashState { FLASH_OUT , EASE_IN , FLASH_IN , EASE_OUT , FLASH_OUT , EASE_IN , FLASH_IN , EASE_OUT } |
| enum class | FlashState { FLASH_OUT , EASE_IN , FLASH_IN , EASE_OUT , FLASH_OUT , EASE_IN , FLASH_IN , EASE_OUT } |
Public Types inherited from Animation | |
| enum | animType { ANIMTYPE_NONE = 0 , ANIMTYPE_PLAY_N_TIMES = 1 , ANIMTYPE_LOOPED = 2 , ANIMTYPE_BACK_FORTH = 3 , ANIMTYPE_NONE = 0 , ANIMTYPE_PLAY_N_TIMES = 1 , ANIMTYPE_LOOPED = 2 , ANIMTYPE_BACK_FORTH = 3 } |
| enum | animType { ANIMTYPE_NONE = 0 , ANIMTYPE_PLAY_N_TIMES = 1 , ANIMTYPE_LOOPED = 2 , ANIMTYPE_BACK_FORTH = 3 , ANIMTYPE_NONE = 0 , ANIMTYPE_PLAY_N_TIMES = 1 , ANIMTYPE_LOOPED = 2 , ANIMTYPE_BACK_FORTH = 3 } |
Public Member Functions | |
| FlashAnimation (size_t f, float s, const std::string _type, const std::vector< float > &flashTimes, TazColor flashC, int _reps=0) | |
| FlashAnimation (size_t f, float s, const animType _type, const std::vector< float > &flashTimes, TazColor flashC, int _reps=0) | |
| void | advanceFrame (float deltaTime) |
| std::vector< float > | getSpeedsAsVector () const |
| FlashAnimation (size_t f, float s, const std::string _type, const std::vector< float > &flashTimes, TazColor flashC, int _reps=0) | |
| FlashAnimation (size_t f, float s, const animType _type, const std::vector< float > &flashTimes, TazColor flashC, int _reps=0) | |
| void | advanceFrame (float deltaTime) |
| std::vector< float > | getSpeedsAsVector () const |
Public Member Functions inherited from Animation | |
| Animation (int ix, int iy, size_t f, float s, const std::string _type, int _reps=0) | |
| Animation (int ix, int iy, size_t f, float s, const animType _type, int _reps=0) | |
| void | advanceFrame (float deltaTime) |
| void | resetFrameIndex () |
| bool | hasFinished () |
| Animation (int ix, int iy, size_t f, float s, const std::string _type, int _reps=0) | |
| Animation (int ix, int iy, size_t f, float s, const animType _type, int _reps=0) | |
| void | advanceFrame (float deltaTime) |
| void | resetFrameIndex () |
| bool | hasFinished () |
Public Attributes | |
| float | interpolation_a = 0.0f |
| std::map< FlashState, float > | speeds |
| FlashState | currentSpeedIndex = FlashState::FLASH_OUT |
| TazColor | flashColor = TazColor(255, 255, 255, 255) |
Public Attributes inherited from Animation | |
| int | indexX = 0 |
| int | indexY = 0 |
| size_t | total_frames = 0 |
| float | speed = 1.0f |
| animType | type = animType::ANIMTYPE_NONE |
| int | reps = 0 |
| int | frame_times_played = 0 |
| int | cur_frame_index = 0 |
| float | cur_frame_index_f = 0 |
| int | times_played = 0 |
| int | flow_direction = 1 |
| bool | finished = false |