chickadee » hypergiant » update-animated-sprite!

update-animated-sprite! ANIMATED-SPRITE DELTAprocedure

Update the ANIMATED-SPRITE given the time interval DELTA, changing the current frame of the sprite if enough time has elapsed since the last frame. This should be called every frame that the ANIMATED-SPRITE is to be animated.