| 55 | } |
| 56 | |
| 57 | void Animation::Pause() |
| 58 | { |
| 59 | META_FUNCTION_TASK(); |
| 60 | META_CHECK_EQUAL_DESCR(m_state, State::Running, "only running animation can be paused"); |
| 61 | |
| 62 | m_state = State::Paused; |
| 63 | m_paused_duration = GetElapsedDuration(); |
| 64 | } |
| 65 | |
| 66 | void Animation::Resume() |
| 67 | { |
no outgoing calls
no test coverage detected