I found myself reimplementing the following
void pauseAnimation() {
auto a = getAnimation();
a.setSlowdownCount(STOP_ANIMATION_SLOWDOWN);
setAnimation(a);
}
void resumeAnimation() {
auto a = getAnimation();
a.setSlowdownCount(a.getSprite()->getDuration());
setAnimation(a);
}
Over and over. It can legitimately be part of Animation