Sprite animation configuration when playing.
?: boolean If this anim should be played in loop.
?: boolean When looping should it move back instead of go to start frame again.
?: number This anim's speed in frames per second.
?: () => void Runs when this animation ends.