Animation state example for SFML to match other runtimes.