| 295 | } |
| 296 | |
| 297 | bool NetworkedAnimator::setState(String const& stateType, String const& state, bool startNew) { |
| 298 | if (m_animatedParts.setActiveState(stateType, state, startNew)) { |
| 299 | m_stateInfo[stateType].startedEvent.trigger(); |
| 300 | return true; |
| 301 | } else { |
| 302 | return false; |
| 303 | } |
| 304 | } |
| 305 | |
| 306 | String NetworkedAnimator::state(String const& stateType) const { |
| 307 | return m_animatedParts.activeState(stateType).stateName; |
nothing calls this directly
no test coverage detected