sprite::has_played() is true when a sprite has been drawn for every frame of it's state.
aligned whitespace in portals.