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

Method AnimationExists

libs/drape_frontend/animation_system.cpp:131–143  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

129}
130
131bool AnimationSystem::AnimationExists(Animation::Object object) const
132{
133 if (!m_animationChain.empty())
134 {
135 for (auto const & anim : *(m_animationChain.front()))
136 if (anim->HasObject(object))
137 return true;
138 }
139 for (auto const & prop : m_propertyCache)
140 if (prop.first.first == object)
141 return true;
142 return false;
143}
144
145bool AnimationSystem::HasAnimations() const
146{

Callers 2

OnLocationUpdateMethod · 0.80
ApplyAnimationsMethod · 0.80

Calls 3

frontMethod · 0.80
emptyMethod · 0.45
HasObjectMethod · 0.45

Tested by

no test coverage detected