A Animate2D::State is a lightweight token that can be attached to things that are animated. Under normal circumstances, it is never updated manually
| 178 | // A Animate2D::State is a lightweight token that can be attached to things |
| 179 | // that are animated. Under normal circumstances, it is never updated manually |
| 180 | struct AnimationState |
| 181 | { |
| 182 | private: |
| 183 | size_t nIndex = 0; |
| 184 | float fTime = 0.0f; |
| 185 | bool bComplete = false; |
| 186 | template<typename StatesEnum> |
| 187 | friend class Animation; |
| 188 | }; |
| 189 | |
| 190 | // Animation object holds a group of frame sequences and can mutate an AnimationState token |
| 191 | template<typename StatesEnum> |
nothing calls this directly
no outgoing calls
no test coverage detected