| 171 | } |
| 172 | |
| 173 | size_t AnimatedPartSet::activeStateIndex(String const& stateTypeName) const { |
| 174 | auto const& stateType = m_stateTypes.get(stateTypeName); |
| 175 | return *stateType.states.indexOf(stateType.activeState.stateName); |
| 176 | } |
| 177 | |
| 178 | bool AnimatedPartSet::setActiveStateIndex(String const& stateTypeName, size_t stateIndex, bool alwaysStart) { |
| 179 | auto const& stateType = m_stateTypes.get(stateTypeName); |
no test coverage detected