In Games I often run into this kind of scenario:
The Game Logic decides something happens, and of course the logic does so instantly. But the Game also has animations depending on the logic. Like player died -> play death animation -> respawn. But the logic can't wait for the animation so we have to work around that.
Or take for example Starcraft 2 siege tanks as morphing units on click and they start the siege animation, but in what state is the logic. Is there a state for each animation too? Is it just a Flag ignoring everything as long as it is animating?
It tends to become really messy as i am including more and more animations.
Hope someone can give me a hint.