| 301 | } |
| 302 | |
| 303 | void Model::setRecovery(float var) { |
| 304 | if (var < 0.0f) { |
| 305 | var = 0.0f; |
| 306 | } |
| 307 | Playable::setRecovery(var); |
| 308 | } |
| 309 | |
| 310 | float Model::getDuration() const noexcept { |
| 311 | if (_currentAnimation != Animation::None && !_animationGroups[_currentAnimation]->animations.empty()) { |
no outgoing calls
no test coverage detected