12 std::map<std::string, Animation> animations;
13 std::map<std::string, MovingAnimation> moving_animations;
14 std::map<std::string, FlashAnimation> flash_animations;
24 void InitializeAnimators()
28 animations.emplace(
"Default", defaultAnimation);
32 moving_animations.emplace(
"Default", defaultMoveAnimation);
34 FlashAnimation defaultFlashAnimation =
FlashAnimation(0, 0, 3, 0.0f,
"looped", { 0.2f, 1.0f, 0.2f, 1.0f }, { 255,255,255,255 });
35 FlashAnimation lineTransferFlashAnimation =
FlashAnimation(0, 0, 3, 0.01f,
"play_n_times", { 0.01f, 0.01f, 0.00f, 0.01f }, { 255,255,255,255 }, 1);
36 FlashAnimation rectangleInterpolationFlashAnimation =
FlashAnimation(0, 0, 3, 0.01f,
"back_forth", { 0.01f, 0.01f, 1.00f, 0.01f }, { 255,0,0,255 }, 0);
38 flash_animations.emplace(
"Default", defaultFlashAnimation);
39 flash_animations.emplace(
"LineTransfer", lineTransferFlashAnimation);
40 flash_animations.emplace(
"RectInterpolation", rectangleInterpolationFlashAnimation);