MCPcopy Create free account
hub / github.com/comaps/comaps / AddAnimation

Method AddAnimation

libs/drape_frontend/animation/parallel_animation.cpp:132–140  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

130}
131
132void ParallelAnimation::AddAnimation(drape_ptr<Animation> && animation)
133{
134 SetCouldBeInterrupted(CouldBeInterrupted() && animation->CouldBeInterrupted());
135 SetCouldBeBlended(CouldBeBlended() && animation->CouldBeBlended());
136 SetCouldBeRewinded(CouldBeRewinded() && animation->CouldBeRewinded());
137
138 m_animations.emplace_back(std::move(animation));
139 ObtainObjectProperties();
140}
141
142void ParallelAnimation::OnStart()
143{

Callers 4

GetPrettyMoveAnimationFunction · 0.45
GetPrettyFollowAnimationFunction · 0.45
SetScreenMethod · 0.45
SetFollowAndRotateMethod · 0.45

Calls 4

CouldBeInterruptedMethod · 0.80
CouldBeBlendedMethod · 0.80
CouldBeRewindedMethod · 0.80
emplace_backMethod · 0.45

Tested by

no test coverage detected