| 129 | } |
| 130 | |
| 131 | bool 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 | |
| 145 | bool AnimationSystem::HasAnimations() const |
| 146 | { |
no test coverage detected